CloneSet2834


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7330.973class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1777
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java
2786
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java
37149
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java
Clone Instance
1
Line Count
7
Source Line
77
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java

    public boolean visit(EnumDeclaration node) {
        push(JavaNode.ENUM, node.getName().toString(), node.getStartPosition(), node.getLength());
        return true;
    }

    public void endVisit(EnumDeclaration node) {
        pop();
    }


Clone Instance
2
Line Count
7
Source Line
86
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java

        public boolean visit(AnnotationTypeDeclaration node) {
                push(JavaNode.ANNOTATION, node.getName().toString(), node.getStartPosition(), node.getLength());
        return true;
        }

        public void endVisit(AnnotationTypeDeclaration node) {
                pop();
        }


Clone Instance
3
Line Count
7
Source Line
149
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java

    public boolean visit(EnumConstantDeclaration node) {
        push(JavaNode.FIELD, node.getName().toString(), node.getStartPosition(), node.getLength());
        return false;
    }

    public void endVisit(EnumConstantDeclaration node) {
        pop();
    }


Clone AbstractionParameter Count: 3Parameter Bindings

public boolean visit( [[#variable59635940]] node) {
  push(JavaNode. [[#variable59635920]], node.getName().toString(), node.getStartPosition(), node.getLength());
  return [[#variable59635980]];
}

public void endVisit( [[#variable59635940]] node) {
  pop();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59635940]]
EnumConstantDeclaration 
12[[#59635940]]
AnnotationTypeDeclaration 
13[[#59635940]]
EnumDeclaration 
21[[#59635920]]
FIELD 
22[[#59635920]]
ANNOTATION 
23[[#59635920]]
ENUM 
31[[#59635980]]
false 
32[[#59635980]]
true 
33[[#59635980]]
true