Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 3 | 0.973 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 77 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java |
2 | 7 | 86 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaParseTreeBuilder.java |
3 | 7 | 149 | 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(); } |
| ||||
public boolean visit(AnnotationTypeDeclaration node) { push(JavaNode.ANNOTATION, node.getName().toString(), node.getStartPosition(), node.getLength()); return true; } public void endVisit(AnnotationTypeDeclaration node) { pop(); } |
| ||||
public boolean visit(EnumConstantDeclaration node) { push(JavaNode.FIELD, node.getName().toString(), node.getStartPosition(), node.getLength()); return false; } public void endVisit(EnumConstantDeclaration node) { pop(); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#59635940]] | EnumConstantDeclaration |
1 | 2 | [[#59635940]] | AnnotationTypeDeclaration |
1 | 3 | [[#59635940]] | EnumDeclaration |
2 | 1 | [[#59635920]] | FIELD |
2 | 2 | [[#59635920]] | ANNOTATION |
2 | 3 | [[#59635920]] | ENUM |
3 | 1 | [[#59635980]] | false |
3 | 2 | [[#59635980]] | true |
3 | 3 | [[#59635980]] | true |