CloneSet3029


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.986statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1476
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchingNodeSet.java
2493
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchingNodeSet.java
Clone Instance
1
Line Count
4
Source Line
76
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchingNodeSet.java

        // remove existing node at same position from set
        // (case of recovery that created the same node several time
        // see http://bugs.eclipse.org/bugs/show_bug.cgi?id=29366)
        long key = (((long) node.sourceStart) << 32) + node.sourceEnd;
        ASTNode existing = (ASTNode) this.possibleMatchingNodesKeys.get(key);
        if (existing != null && existing.getClass().equals(node.getClass()))
                this.possibleMatchingNodesSet.remove(existing);


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

        // remove existing node at same position from set
        // (case of recovery that created the same node several time
        // see http://bugs.eclipse.org/bugs/show_bug.cgi?id=29366)
        long key = (((long) node.sourceStart) << 32) + node.sourceEnd;
        ASTNode existing = (ASTNode) this.matchingNodesKeys.get(key);
        if (existing != null && existing.getClass().equals(node.getClass()))
                this.matchingNodes.removeKey(existing);


Clone AbstractionParameter Count: 3Parameter Bindings

// remove existing node at same position from set
// (case of recovery that created the same node several time
// see http://bugs.eclipse.org/bugs/show_bug.cgi?id=29366)
long key = (((long) node.sourceStart) << 32) + node.sourceEnd;
ASTNode existing = (ASTNode) this. [[#variable9ce3f200]].get(key);
if (existing != null && existing.getClass().equals(node.getClass()))
  this. [[#variable9d707d40]]. [[#variable9ce3e720]](existing);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ce3f200]]
possibleMatchingNodesKeys 
12[[#9ce3f200]]
matchingNodesKeys 
21[[#9d707d40]]
possibleMatchingNodesSet 
22[[#9d707d40]]
matchingNodes 
31[[#9ce3e720]]
remove 
32[[#9ce3e720]]
removeKey