Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 6 | 0.972 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 142 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberRef.java |
2 | 6 | 140 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleMemberAnnotation.java |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { MemberRef result = new MemberRef(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier())); result.setName((SimpleName) ASTNode.copySubtree(target, getName())); return result; } |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { SingleMemberAnnotation result = new SingleMemberAnnotation(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setTypeName((Name) ASTNode.copySubtree(target, getTypeName())); result.setValue((Expression) ASTNode.copySubtree(target, getValue())); return result; } |
| |||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { [[#variableb0cea0c0]] result = new [[#variableb0cea0c0]](target); result.setSourceRange(this.getStartPosition(), this.getLength()); result. [[#variableb0cea060]]((Name) ASTNode.copySubtree(target, [[#variableb2427f00]]())); result. [[#variableb2427ec0]](( [[#variableb24260a0]]) ASTNode.copySubtree(target, [[#variableb2427fc0]]())); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b0cea0c0]] | SingleMemberAnnotation |
1 | 2 | [[#b0cea0c0]] | MemberRef |
2 | 1 | [[#b0cea060]] | setTypeName |
2 | 2 | [[#b0cea060]] | setQualifier |
3 | 1 | [[#b2427f00]] | getTypeName |
3 | 2 | [[#b2427f00]] | getQualifier |
4 | 1 | [[#b2427ec0]] | setValue |
4 | 2 | [[#b2427ec0]] | setName |
5 | 1 | [[#b24260a0]] | Expression |
5 | 2 | [[#b24260a0]] | SimpleName |
6 | 1 | [[#b2427fc0]] | getValue |
6 | 2 | [[#b2427fc0]] | getName |