Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 4 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 116 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BreakStatement.java |
2 | 6 | 116 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ContinueStatement.java |
3 | 7 | 112 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ReturnStatement.java |
4 | 7 | 122 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SwitchCase.java |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { BreakStatement result = new BreakStatement(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.copyLeadingComment(this ); result.setLabel((SimpleName) ASTNode.copySubtree(target, getLabel())); return result; } |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { ContinueStatement result = new ContinueStatement(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.copyLeadingComment(this ); result.setLabel((SimpleName) ASTNode.copySubtree(target, getLabel())); return result; } |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { ReturnStatement result = new ReturnStatement(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.copyLeadingComment(this ); result.setExpression( (Expression) ASTNode.copySubtree(target, getExpression())); return result; } |
| ||||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { SwitchCase result = new SwitchCase(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.copyLeadingComment(this ); result.setExpression( (Expression) ASTNode.copySubtree(target, getExpression())); return result; } |
| |||
/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { [[#variable584917e0]] result = new [[#variable584917e0]](target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.copyLeadingComment(this ); result. [[#variable58491760]](( [[#variable584916c0]]) ASTNode.copySubtree(target, [[#variable58491640]]())); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#584917e0]] | BreakStatement |
1 | 2 | [[#584917e0]] | ContinueStatement |
1 | 3 | [[#584917e0]] | ReturnStatement |
1 | 4 | [[#584917e0]] | SwitchCase |
2 | 1 | [[#58491760]] | setLabel |
2 | 2 | [[#58491760]] | setLabel |
2 | 3 | [[#58491760]] | setExpression |
2 | 4 | [[#58491760]] | setExpression |
3 | 1 | [[#584916c0]] | SimpleName |
3 | 2 | [[#584916c0]] | SimpleName |
3 | 3 | [[#584916c0]] | Expression |
3 | 4 | [[#584916c0]] | Expression |
4 | 1 | [[#58491640]] | getLabel |
4 | 2 | [[#58491640]] | getLabel |
4 | 3 | [[#58491640]] | getExpression |
4 | 4 | [[#58491640]] | getExpression |