Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 2 | 0.981 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 62 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ClassDeclarationImpl.java |
2 | 9 | 252 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeDeclarationImpl.java |
3 | 9 | 267 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeDeclarationImpl.java |
| ||||
final IMethodBinding methodBinding = methodDecl.resolveBinding(); // built an ast based representation. if (methodBinding == null) { if (file == null) file = getResource(); ConstructorDeclaration mirrorDecl = (ConstructorDeclaration) Factory.createDeclaration(methodDecl, file, _env); if (mirrorDecl != null) results.add(mirrorDecl); } |
| ||||
final IMethodBinding methodBinding = methodDecl.resolveBinding(); // built an ast based representation. if (methodBinding == null) { if (file == null) file = getResource(); MethodDeclaration mirrorDecl = (MethodDeclaration) Factory.createDeclaration(methodDecl, file, _env); if (mirrorDecl != null) results.add(mirrorDecl); } |
| ||||
final IMethodBinding methodBinding = memberDecl.resolveBinding(); // built an ast based representation. if (methodBinding == null) { if (file == null) file = getResource(); MethodDeclaration mirrorDecl = (MethodDeclaration) Factory.createDeclaration(memberDecl, file, _env); if (mirrorDecl != null) results.add(mirrorDecl); } |
| |||
final IMethodBinding methodBinding = [[#variable94dcec80]].resolveBinding(); // built an ast based representation. if (methodBinding == null) { if (file == null) file = getResource(); [[#variable530a5d00]] mirrorDecl = ( [[#variable530a5d00]]) Factory.createDeclaration( [[#variable94dcec80]], file, _env); if (mirrorDecl != null) results.add(mirrorDecl); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94dcec80]] | methodDecl |
1 | 2 | [[#94dcec80]] | memberDecl |
1 | 3 | [[#94dcec80]] | methodDecl |
2 | 1 | [[#530a5d00]] | ConstructorDeclaration |
2 | 2 | [[#530a5d00]] | MethodDeclaration |
2 | 3 | [[#530a5d00]] | MethodDeclaration |