CloneSet1613


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7310.986executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
173293
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
273312
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
373325
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
7
Source Line
3293
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                                                                                   {
                                                                // must find inherited method with the same substituted variables
                                                                MethodBinding[] superMethods = ((ReferenceBinding) superType).getMethods(original2.selector);
                                                                for (int m = 0, l = superMethods.length; m < l; m++) {
                                                                        if (superMethods[m].original() == original2) {
                                                                                original2 = superMethods[m];
                                                                                break;
                                                                        }
                                                                }
                                                                                                   }


Clone Instance
2
Line Count
7
Source Line
3312
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                                       {
                                                        // must find inherited method with the same substituted variables
                                                        MethodBinding[] superMethods = ((ReferenceBinding) superType).getMethods(original.selector);
                                                        for (int m = 0, l = superMethods.length; m < l; m++) {
                                                                if (superMethods[m].original() == original) {
                                                                        original = superMethods[m];
                                                                        break;
                                                                }
                                                        }
                                                       }


Clone Instance
3
Line Count
7
Source Line
3325
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                                       {
                                                        // must find inherited method with the same substituted variables
                                                        MethodBinding[] superMethods = ((ReferenceBinding) superType).getMethods(original2.selector);
                                                        for (int m = 0, l = superMethods.length; m < l; m++) {
                                                                if (superMethods[m].original() == original2) {
                                                                        original2 = superMethods[m];
                                                                        break;
                                                                }
                                                        }
                                                       }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  // must find inherited method with the same substituted variables
  MethodBinding[] superMethods = ((ReferenceBinding) superType).getMethods( [[#variableb34dd980]].selector);
  for (int m = 0, l = superMethods.length; m < l; m++) {
    if (superMethods[m].original() == [[#variableb34dd980]]) {
       [[#variableb34dd980]]= superMethods[m];
      break;
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b34dd980]]
original2 
12[[#b34dd980]]
original 
13[[#b34dd980]]
original2