Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.983 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 56 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedMemberDeclarationImpl.java |
2 | 12 | 78 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/MemberDeclarationImpl.java |
| ||||
if (node instanceof BodyDeclaration) return getDocComment((BodyDeclaration) node); else if (node.getNodeType() == ASTNode.VARIABLE_DECLARATION_FRAGMENT) { final ASTNode parent = node.getParent(); // a field declaration if (parent instanceof BodyDeclaration) return getDocComment((BodyDeclaration) parent); } return EMPTY_STRING; |
| ||||
if (node instanceof BodyDeclaration) return getDocComment((BodyDeclaration) node); else if (node.getNodeType() == ASTNode.VARIABLE_DECLARATION_FRAGMENT) { final ASTNode parent = node.getParent(); // a field declaration if (parent instanceof BodyDeclaration) return getDocComment((BodyDeclaration) parent); } return ""; //$NON-NLS-1$ |
| |||
if (node instanceof BodyDeclaration) return getDocComment((BodyDeclaration) node); else if (node.getNodeType() == ASTNode.VARIABLE_DECLARATION_FRAGMENT) { final ASTNode parent = node.getParent(); // a field declaration if (parent instanceof BodyDeclaration) return getDocComment((BodyDeclaration) parent); } return [[#variable96af4140]]; //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#96af4140]] | EMPTY_STRING |
1 | 2 | [[#96af4140]] | "" |