Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 6 | 0.972 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 140 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LabeledStatement.java |
2 | 6 | 140 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java |
3 | 6 | 144 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { LabeledStatement result = new LabeledStatement(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setLabel( (SimpleName) ASTNode.copySubtree(target, getLabel())); result.setBody( (Statement) ASTNode.copySubtree(target, getBody())); return result; } |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { MemberValuePair result = new MemberValuePair(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setName((SimpleName) ASTNode.copySubtree(target, getName())); result.setValue((Expression) ASTNode.copySubtree(target, getValue())); return result; } |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { SuperFieldAccess result = new SuperFieldAccess(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setName((SimpleName) ASTNode.copySubtree(target, getName())); result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier())); return result; } |
| |||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { [[#variable94d5a5c0]] result = new [[#variable94d5a5c0]](target); result.setSourceRange(this.getStartPosition(), this.getLength()); result. [[#variable94d5a500]]((SimpleName) ASTNode.copySubtree(target, [[#variable94d5a440]]())); result. [[#variable94d5a3c0]](( [[#variable94d5a360]]) ASTNode.copySubtree(target, [[#variable94d5a300]]())); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94d5a5c0]] | SuperFieldAccess |
1 | 2 | [[#94d5a5c0]] | MemberValuePair |
1 | 3 | [[#94d5a5c0]] | LabeledStatement |
2 | 1 | [[#94d5a500]] | setName |
2 | 2 | [[#94d5a500]] | setName |
2 | 3 | [[#94d5a500]] | setLabel |
3 | 1 | [[#94d5a440]] | getName |
3 | 2 | [[#94d5a440]] | getName |
3 | 3 | [[#94d5a440]] | getLabel |
4 | 1 | [[#94d5a3c0]] | setQualifier |
4 | 2 | [[#94d5a3c0]] | setValue |
4 | 3 | [[#94d5a3c0]] | setBody |
5 | 1 | [[#94d5a360]] | Name |
5 | 2 | [[#94d5a360]] | Expression |
5 | 3 | [[#94d5a360]] | Statement |
6 | 1 | [[#94d5a300]] | getQualifier |
6 | 2 | [[#94d5a300]] | getValue |
6 | 3 | [[#94d5a300]] | getBody |