| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 5 | 6 | 0.952 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 121 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ExpressionStatement.java |
| 2 | 6 | 222 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PostfixExpression.java |
| 3 | 6 | 238 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PrefixExpression.java |
| 4 | 6 | 118 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ThrowStatement.java |
| 5 | 8 | 184 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeDeclarationStatement.java |
| ||||
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
ASTNode clone0(AST target) {
ExpressionStatement result = new ExpressionStatement(target);
result.setSourceRange(this.getStartPosition(), this.getLength());
result.copyLeadingComment(this );
result.setExpression((Expression) getExpression().clone(target));
return result;
}
|
| ||||
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
ASTNode clone0(AST target) {
PostfixExpression result = new PostfixExpression(target);
result.setSourceRange(this.getStartPosition(), this.getLength());
result.setOperator(getOperator());
result.setOperand((Expression) getOperand().clone(target));
return result;
}
|
| ||||
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
ASTNode clone0(AST target) {
PrefixExpression result = new PrefixExpression(target);
result.setSourceRange(this.getStartPosition(), this.getLength());
result.setOperator(getOperator());
result.setOperand((Expression) getOperand().clone(target));
return result;
}
|
| ||||
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
ASTNode clone0(AST target) {
ThrowStatement result = new ThrowStatement(target);
result.setSourceRange(this.getStartPosition(), this.getLength());
result.copyLeadingComment(this );
result.setExpression((Expression) getExpression().clone(target));
return result;
}
|
| ||||
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
ASTNode clone0(AST target) {
TypeDeclarationStatement result =
new TypeDeclarationStatement(target);
result.setSourceRange(this.getStartPosition(), this.getLength());
result.copyLeadingComment(this );
result.setDeclaration(
(AbstractTypeDeclaration) getDeclaration().clone(target));
return result;
}
|
| |||
/* (omit javadoc for this method)
* Method declared on ASTNode.
*/
ASTNode clone0(AST target) {
[[#variablebe19afa0]] result = new [[#variablebe19afa0]](target);
result.setSourceRange(this.getStartPosition(), this.getLength());
result. [[#variablebe19af40]]( [[#variablebe19af00]]);
result. [[#variablebe19ade0]](( [[#variablebe19ada0]]) [[#variablebe19ae20]]().clone(target));
return result;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#be19afa0]] | ExpressionStatement |
| 1 | 2 | [[#be19afa0]] | PostfixExpression |
| 1 | 3 | [[#be19afa0]] | PrefixExpression |
| 1 | 4 | [[#be19afa0]] | ThrowStatement |
| 1 | 5 | [[#be19afa0]] | TypeDeclarationStatement |
| 2 | 1 | [[#be19af40]] | copyLeadingComment |
| 2 | 2 | [[#be19af40]] | setOperator |
| 2 | 3 | [[#be19af40]] | setOperator |
| 2 | 4 | [[#be19af40]] | copyLeadingComment |
| 2 | 5 | [[#be19af40]] | copyLeadingComment |
| 3 | 1 | [[#be19af00]] | this |
| 3 | 2 | [[#be19af00]] | getOperator() |
| 3 | 3 | [[#be19af00]] | getOperator() |
| 3 | 4 | [[#be19af00]] | this |
| 3 | 5 | [[#be19af00]] | this |
| 4 | 1 | [[#be19ade0]] | setExpression |
| 4 | 2 | [[#be19ade0]] | setOperand |
| 4 | 3 | [[#be19ade0]] | setOperand |
| 4 | 4 | [[#be19ade0]] | setExpression |
| 4 | 5 | [[#be19ade0]] | setDeclaration |
| 5 | 1 | [[#be19ada0]] | Expression |
| 5 | 2 | [[#be19ada0]] | Expression |
| 5 | 3 | [[#be19ada0]] | Expression |
| 5 | 4 | [[#be19ada0]] | Expression |
| 5 | 5 | [[#be19ada0]] | AbstractTypeDeclaration |
| 6 | 1 | [[#be19ae20]] | getExpression |
| 6 | 2 | [[#be19ae20]] | getOperand |
| 6 | 3 | [[#be19ae20]] | getOperand |
| 6 | 4 | [[#be19ae20]] | getExpression |
| 6 | 5 | [[#be19ae20]] | getDeclaration |