| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 3 | 0.966 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 681 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
| 2 | 5 | 897 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
| ||||
/*
* @see ASTVisitor#visit(ParenthesizedExpression)
*/
public boolean visit(ParenthesizedExpression node) {
this.result.append('(');
getChildNode(node, ParenthesizedExpression.EXPRESSION_PROPERTY).accept(this );
this.result.append(')');
return false;
}
|
| ||||
/*
* @see ASTVisitor#visit(ThrowStatement)
*/
public boolean visit(ThrowStatement node) {
this.result.append("throw "); //$NON-NLS-1$
getChildNode(node, ThrowStatement.EXPRESSION_PROPERTY).accept(this );
this.result.append(';');
return false;
}
|
| |||
/*
* @see ASTVisitor#visit(ParenthesizedExpression)
*/
/*
* @see ASTVisitor#visit(ThrowStatement)
*/
public boolean visit( [[#variable99f0ec60]] node) {
this.result.append( [[#variable99f0ebc0]]); //$NON-NLS-1$
getChildNode(node, [[#variable99f0ec60]].EXPRESSION_PROPERTY).accept(this );
this.result.append( [[#variable99f0eb20]]);
return false;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#99f0ec60]] | ParenthesizedExpression |
| 1 | 2 | [[#99f0ec60]] | ThrowStatement |
| 2 | 1 | [[#99f0ebc0]] | '(' |
| 2 | 2 | [[#99f0ebc0]] | "throw " |
| 3 | 1 | [[#99f0eb20]] | ')' |
| 3 | 2 | [[#99f0eb20]] | ';' |