| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 3 | 1 | 0.986 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 171 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java |
| 2 | 9 | 182 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java |
| 3 | 9 | 193 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SnippetFinder.java |
| ||||
public boolean visit(TypeDeclaration node) {
if ( ++fTypes > 1)
return false;
return super.visit(node);
}
public void endVisit(TypeDeclaration node) {
--fTypes;
super.endVisit(node);
}
|
| ||||
public boolean visit(EnumDeclaration node) {
if ( ++fTypes > 1)
return false;
return super.visit(node);
}
public void endVisit(EnumDeclaration node) {
--fTypes;
super.endVisit(node);
}
|
| ||||
public boolean visit(AnnotationTypeDeclaration node) {
if ( ++fTypes > 1)
return false;
return super.visit(node);
}
public void endVisit(AnnotationTypeDeclaration node) {
--fTypes;
super.endVisit(node);
}
|
| |||
public boolean visit( [[#variable98819760]] node) {
if ( ++fTypes > 1)
return false;
return super.visit(node);
}
public void endVisit( [[#variable98819760]] node) {
--fTypes;
super.endVisit(node);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#98819760]] | AnnotationTypeDeclaration |
| 1 | 2 | [[#98819760]] | EnumDeclaration |
| 1 | 3 | [[#98819760]] | TypeDeclaration |