CloneSet1780


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111717
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java
211464
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
Clone Instance
1
Line Count
11
Source Line
717
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java

                          {
                if (isInterface()) {
                         if (superInterfaces().length == 1) { // ensure superinterfaces are resolved before checking
                                if (refScope != null)
                                        refScope.recordTypeReference(superInterfaces[0]);
                                return superInterfaces[0].getExactMethod(selector, argumentTypes, refScope);
                         }
                }
                else   if (superclass() != null) { // ensure superclass is resolved before checking
                        if (refScope != null)
                                refScope.recordTypeReference(superclass);
                        return superclass.getExactMethod(selector, argumentTypes, refScope);
                       }
                          }


Clone Instance
2
Line Count
11
Source Line
464
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java

                                                                                            {
                        if (isInterface()) {
                                 if (superInterfaces().length == 1) {
                                        if (refScope != null)
                                                refScope.recordTypeReference(superInterfaces[0]);
                                        return superInterfaces[0].getExactMethod(selector, argumentTypes, refScope);
                                 }
                        }
                        else   if (superclass() != null) {
                                if (refScope != null)
                                        refScope.recordTypeReference(superclass);
                                return superclass.getExactMethod(selector, argumentTypes, refScope);
                               }
                                                                                            }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  if (isInterface()) {
    if (superInterfaces().length == 1) { // ensure superinterfaces are resolved before checking
      if (refScope != null)
        refScope.recordTypeReference(superInterfaces[0]);
      return superInterfaces[0].getExactMethod(selector, argumentTypes, refScope);
    }
  }
  else
    if (superclass() != null) { // ensure superclass is resolved before checking
      if (refScope != null)
        refScope.recordTypeReference(superclass);
      return superclass.getExactMethod(selector, argumentTypes, refScope);
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None