CloneSet7399


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1480
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/FieldBinding.java
24219
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java
Clone Instance
1
Line Count
4
Source Line
80
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/FieldBinding.java

                // answer true if the invocationType is the declaringClass or they are in the same package
                // OR the invocationType is a subclass of the declaringClass
                //    AND the receiverType is the invocationType or its subclass
                //    OR the method is a static method accessed directly through a type
                //    OR previous assertions are true for one of the enclosing type
                if (invocationType == declaringClass) return true;
                if (invocationType.fPackage == declaringClass.fPackage) return true;

                ReferenceBinding currentType = invocationType;


Clone Instance
2
Line Count
4
Source Line
219
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java

                // answer true if the invocationType is the declaringClass or they are in the same package
                // OR the invocationType is a subclass of the declaringClass
                //    AND the receiverType is the invocationType or its subclass
                //    OR the method is a static method accessed directly through a type
                //    OR previous assertions are true for one of the enclosing type
                if (invocationType == declaringClass) return true;
                if (invocationType.fPackage == declaringClass.fPackage) return true;

                ReferenceBinding currentType = invocationType;


Clone AbstractionParameter Count: 0Parameter Bindings

// answer true if the invocationType is the declaringClass or they are in the same package
// OR the invocationType is a subclass of the declaringClass
//    AND the receiverType is the invocationType or its subclass
//    OR the method is a static method accessed directly through a type
//    OR previous assertions are true for one of the enclosing type
if (invocationType == declaringClass)
  return true;
if (invocationType.fPackage == declaringClass.fPackage)
  return true;
ReferenceBinding currentType = invocationType;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None