CloneSet4267


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4301.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14220
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java
24637
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java
34700
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java
Clone Instance
1
Line Count
4
Source Line
220
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java

                if (typeBinding instanceof ArrayBinding)
                        typeBinding = ((ArrayBinding) typeBinding).leafComponentType;
                if (typeBinding instanceof ProblemReferenceBinding)
                        typeBinding = ((ProblemReferenceBinding) typeBinding).closestMatch;


Clone Instance
2
Line Count
4
Source Line
637
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java

        if (typeBinding instanceof ArrayBinding)
                typeBinding = ((ArrayBinding) typeBinding).leafComponentType;
        if (typeBinding instanceof ProblemReferenceBinding)
                typeBinding = ((ProblemReferenceBinding) typeBinding).closestMatch;


Clone Instance
3
Line Count
4
Source Line
700
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java

        if (typeBinding instanceof ArrayBinding)
                typeBinding = ((ArrayBinding) typeBinding).leafComponentType;
        if (typeBinding instanceof ProblemReferenceBinding)
                typeBinding = ((ProblemReferenceBinding) typeBinding).closestMatch;


Clone AbstractionParameter Count: 0Parameter Bindings

if (typeBinding instanceof ArrayBinding)
  typeBinding = ((ArrayBinding) typeBinding).leafComponentType;
if (typeBinding instanceof ProblemReferenceBinding)
  typeBinding = ((ProblemReferenceBinding) typeBinding).closestMatch;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None