Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 5 | 4 | 0.971 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 213 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeDeclaration.java |
2 | 4 | 236 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java |
3 | 4 | 223 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java |
4 | 4 | 229 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java |
5 | 4 | 246 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumDeclaration.java |
| ||||
result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); |
| ||||
result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); |
| ||||
// n.b do not copy line number table or messages result.setSourceRange(this.getStartPosition(), this.getLength()); result.setPackage( (PackageDeclaration) ASTNode.copySubtree(target, getPackage())); result.imports().addAll(ASTNode.copySubtrees(target, imports())); |
| ||||
result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); |
| ||||
result.setSourceRange(this.getStartPosition(), this.getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); |
| |||
// n.b do not copy line number table or messages result.setSourceRange(this.getStartPosition(), this.getLength()); result. [[#variable95dd1fe0]](( [[#variable95dd1f60]]) ASTNode.copySubtree(target, [[#variable95dd1f20]]())); result. [[#variable95dd1100]]().addAll(ASTNode.copySubtrees(target, [[#variable95dd1100]]())); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95dd1fe0]] | setJavadoc |
1 | 2 | [[#95dd1fe0]] | setPackage |
1 | 3 | [[#95dd1fe0]] | setJavadoc |
1 | 4 | [[#95dd1fe0]] | setJavadoc |
1 | 5 | [[#95dd1fe0]] | setJavadoc |
2 | 1 | [[#95dd1f60]] | Javadoc |
2 | 2 | [[#95dd1f60]] | PackageDeclaration |
2 | 3 | [[#95dd1f60]] | Javadoc |
2 | 4 | [[#95dd1f60]] | Javadoc |
2 | 5 | [[#95dd1f60]] | Javadoc |
3 | 1 | [[#95dd1f20]] | getJavadoc |
3 | 2 | [[#95dd1f20]] | getPackage |
3 | 3 | [[#95dd1f20]] | getJavadoc |
3 | 4 | [[#95dd1f20]] | getJavadoc |
3 | 5 | [[#95dd1f20]] | getJavadoc |
4 | 1 | [[#95dd1100]] | modifiers |
4 | 2 | [[#95dd1100]] | imports |
4 | 3 | [[#95dd1100]] | modifiers |
4 | 4 | [[#95dd1100]] | modifiers |
4 | 5 | [[#95dd1100]] | modifiers |