CloneSet770


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5650.959switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15348
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryType.java
25656
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
35661
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
45163
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java
55265
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java
65265
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java
Clone Instance
1
Line Count
5
Source Line
348
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryType.java

                case JEM_FIELD:
                        if ( !memento.hasMoreTokens()) return this ;
                        String fieldName = memento.nextToken();
                        JavaElement field = (JavaElement) getField(fieldName);
                        return field.getHandleFromMemento(memento, workingCopyOwner);


Clone Instance
2
Line Count
5
Source Line
656
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java

                case JEM_PACKAGEDECLARATION:
                        if ( !memento.hasMoreTokens()) return this ;
                        String pkgName = memento.nextToken();
                        JavaElement pkgDecl = (JavaElement) getPackageDeclaration(pkgName);
                        return pkgDecl.getHandleFromMemento(memento, workingCopyOwner);


Clone Instance
3
Line Count
5
Source Line
661
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java

                case JEM_TYPE:
                        if ( !memento.hasMoreTokens()) return this ;
                        String typeName = memento.nextToken();
                        JavaElement type = (JavaElement) getType(typeName);
                        return type.getHandleFromMemento(memento, workingCopyOwner);


Clone Instance
4
Line Count
5
Source Line
163
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java

                case JEM_JAVAPROJECT:
                        if ( !memento.hasMoreTokens()) return this ;
                        String projectName = memento.nextToken();
                        JavaElement project = (JavaElement) getJavaProject(projectName);
                        return project.getHandleFromMemento(memento, owner);


Clone Instance
5
Line Count
5
Source Line
265
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java

                case JEM_CLASSFILE:
                        if ( !memento.hasMoreTokens()) return this ;
                        String classFileName = memento.nextToken();
                        JavaElement classFile = (JavaElement) getClassFile(classFileName);
                        return classFile.getHandleFromMemento(memento, owner);


Clone Instance
6
Line Count
5
Source Line
265
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java

                case JEM_FIELD:
                        if ( !memento.hasMoreTokens()) return this ;
                        String fieldName = memento.nextToken();
                        JavaElement field = (JavaElement) getField(fieldName);
                        return field.getHandleFromMemento(memento, workingCopyOwner);


Clone AbstractionParameter Count: 5Parameter Bindings

case [[#variableb1109d20]]:
  if ( !memento.hasMoreTokens())
    return this ;
  String  [[#variableb1109c60]]= memento.nextToken();
  JavaElement  [[#variableb1109c80]]= (JavaElement)  [[#variableb1109c20]]( [[#variableb1109c60]]);
  return [[#variableb1109c80]].getHandleFromMemento(memento,  [[#variableb1109ba0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1109d20]]
JEM_FIELD 
12[[#b1109d20]]
JEM_PACKAGEDECLARATION 
13[[#b1109d20]]
JEM_JAVAPROJECT 
14[[#b1109d20]]
JEM_CLASSFILE 
15[[#b1109d20]]
JEM_TYPE 
16[[#b1109d20]]
JEM_FIELD 
21[[#b1109c60]]
fieldName 
22[[#b1109c60]]
pkgName 
23[[#b1109c60]]
projectName 
24[[#b1109c60]]
classFileName 
25[[#b1109c60]]
typeName 
26[[#b1109c60]]
fieldName 
31[[#b1109c80]]
field 
32[[#b1109c80]]
pkgDecl 
33[[#b1109c80]]
project 
34[[#b1109c80]]
classFile 
35[[#b1109c80]]
type 
36[[#b1109c80]]
field 
41[[#b1109c20]]
getField 
42[[#b1109c20]]
getPackageDeclaration 
43[[#b1109c20]]
getJavaProject 
44[[#b1109c20]]
getClassFile 
45[[#b1109c20]]
getType 
46[[#b1109c20]]
getField 
51[[#b1109ba0]]
workingCopyOwner 
52[[#b1109ba0]]
workingCopyOwner 
53[[#b1109ba0]]
owner 
54[[#b1109ba0]]
owner 
55[[#b1109ba0]]
workingCopyOwner 
56[[#b1109ba0]]
workingCopyOwner