CloneSet5242


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13330
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java
26341
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java
Clone Instance
1
Line Count
3
Source Line
330
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java

                                if (index >= 0) {
                                        checkAgainstInheritedMethods(currentMethod, matchingInherited, index + 1, inherited); // pass in the length of matching
                                        while (index >= 0) matchingInherited[index-- ] = null; // clear the contents of the matching methods
                                }


Clone Instance
2
Line Count
6
Source Line
341
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier15.java

                                if (index >= 0) {
                                        // see addtional comments in https://bugs.eclipse.org/bugs/show_bug.cgi?id=122881
                                        // if (index > 0 && currentMethod.declaringClass.isInterface()) // only check when inherited methods are from interfaces
                                        //      checkInheritedReturnTypes(matchingInherited, index + 1);
                                        checkAgainstInheritedMethods(currentMethod, matchingInherited, index + 1, inherited); // pass in the length of matching
                                        while (index >= 0) matchingInherited[index-- ] = null; // clear the contents of the matching methods
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (index >= 0) {
  // see addtional comments in https://bugs.eclipse.org/bugs/show_bug.cgi?id=122881
  // if (index > 0 && currentMethod.declaringClass.isInterface()) // only check when inherited methods are from interfaces
  //      checkInheritedReturnTypes(matchingInherited, index + 1);
  checkAgainstInheritedMethods(currentMethod, matchingInherited, index + 1, inherited); // pass in the length of matching
  while (index >= 0)
    matchingInherited[index-- ] = null; // clear the contents of the matching methods
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None