CloneSet3013


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8320.986switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18130
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringHandleTransplanter.java
28139
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringHandleTransplanter.java
39148
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringHandleTransplanter.java
Clone Instance
1
Line Count
8
Source Line
130
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringHandleTransplanter.java

                                case IJavaElement.METHOD: {
                                        switch (currentElement.getElementType()) {
                                                case IJavaElement.TYPE: {
                                                        newElements[i] = resolveTypeInMember((IMethod) newParent, (IType) currentElement);
                                                        break;
                                                                        }
                                              }
                                        break;
                                                          }


Clone Instance
2
Line Count
8
Source Line
139
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringHandleTransplanter.java

                                case IJavaElement.INITIALIZER: {
                                        switch (currentElement.getElementType()) {
                                                case IJavaElement.TYPE: {
                                                        newElements[i] = resolveTypeInMember((IInitializer) newParent, (IType) currentElement);
                                                        break;
                                                                        }
                                              }
                                        break;
                                                               }


Clone Instance
3
Line Count
9
Source Line
148
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringHandleTransplanter.java

                                case IJavaElement.FIELD: {
                                        switch (currentElement.getElementType()) {
                                                case IJavaElement.TYPE: {
                                                        // anonymous type in field declaration
                                                        newElements[i] = resolveTypeInMember((IField) newParent, (IType) currentElement);
                                                        break;
                                                                        }
                                              }
                                        break;
                                                         }


Clone AbstractionParameter Count: 2Parameter Bindings

case IJavaElement. [[#variable9305ffc0]]:
  {
    switch (currentElement.getElementType()) {
      case IJavaElement.TYPE:
        {
          // anonymous type in field declaration
          newElements[i] = resolveTypeInMember(( [[#variable9305ff40]]) newParent, (IType) currentElement);
          break;
        }
    }
    break;
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9305ffc0]]
METHOD 
12[[#9305ffc0]]
INITIALIZER 
13[[#9305ffc0]]
FIELD 
21[[#9305ff40]]
IMethod 
22[[#9305ff40]]
IInitializer 
23[[#9305ff40]]
IField