Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.968 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 80 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedAnnotationElementDeclarationImpl.java |
2 | 4 | 70 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedFieldDeclarationImpl.java |
| ||||
public String getSimpleName() { final AnnotationTypeMemberDeclaration memberAstNode = getMemberAstNode(); final SimpleName nameNode = memberAstNode.getName(); return nameNode == null ? EMPTY_STRING: nameNode.getIdentifier(); } |
| ||||
public String getSimpleName() { final VariableDeclarationFragment fragment = getAstNode(); final SimpleName nameNode = fragment.getName(); return nameNode == null ? EMPTY_STRING: nameNode.getIdentifier(); } |
| |||
public String getSimpleName() { final [[#variable93839e20]] [[#variable93839d80]]= [[#variable93839d20]](); final SimpleName nameNode = [[#variable93839d80]].getName(); return nameNode == null ? EMPTY_STRING: nameNode.getIdentifier(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#93839e20]] | VariableDeclarationFragment |
1 | 2 | [[#93839e20]] | AnnotationTypeMemberDeclaration |
2 | 1 | [[#93839d80]] | fragment |
2 | 2 | [[#93839d80]] | memberAstNode |
3 | 1 | [[#93839d20]] | getAstNode |
3 | 2 | [[#93839d20]] | getMemberAstNode |