CloneSet5029


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1467
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java
2449
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferenceLocator.java
Clone Instance
1
Line Count
4
Source Line
67
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java

public int match(ASTNode node, MatchingNodeSet nodeSet) { // interested in ImportReference
        if ( !(node instanceof ImportReference)) return IMPOSSIBLE_MATCH;

        return nodeSet.addMatch(node, matchLevel((ImportReference) node));
}


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

public int match(ASTNode node, MatchingNodeSet nodeSet) { // interested in ImportReference
        if ( !(node instanceof ImportReference)) return IMPOSSIBLE_MATCH;

        return nodeSet.addMatch(node, matchLevel((ImportReference) node));
}


Clone AbstractionParameter Count: 0Parameter Bindings

public int match(ASTNode node, MatchingNodeSet nodeSet) { // interested in ImportReference
  if ( !(node instanceof ImportReference))
    return IMPOSSIBLE_MATCH;
  return nodeSet.addMatch(node, matchLevel((ImportReference) node));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None