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.965 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 288 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
2 | 6 | 299 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
3 | 6 | 873 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
4 | 6 | 1035 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
| ||||
/* * @see ASTVisitor#visit(CastExpression) */ public boolean visit(CastExpression node) { this.result.append('('); getChildNode(node, CastExpression.TYPE_PROPERTY).accept(this ); this.result.append(')'); getChildNode(node, CastExpression.EXPRESSION_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(CatchClause) */ public boolean visit(CatchClause node) { this.result.append("catch ("); //$NON-NLS-1$ getChildNode(node, CatchClause.EXCEPTION_PROPERTY).accept(this ); this.result.append(')'); getChildNode(node, CatchClause.BODY_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(SynchronizedStatement) */ public boolean visit(SynchronizedStatement node) { this.result.append("synchronized ("); //$NON-NLS-1$ getChildNode(node, SynchronizedStatement.EXPRESSION_PROPERTY).accept(this ); this.result.append(')'); getChildNode(node, SynchronizedStatement.BODY_PROPERTY).accept(this ); return false; } |
| ||||
/* * @see ASTVisitor#visit(WhileStatement) */ public boolean visit(WhileStatement node) { this.result.append("while ("); //$NON-NLS-1$ getChildNode(node, WhileStatement.EXPRESSION_PROPERTY).accept(this ); this.result.append(')'); getChildNode(node, WhileStatement.BODY_PROPERTY).accept(this ); return false; } |
| |||
/* * @see ASTVisitor#visit(CastExpression) */ /* * @see ASTVisitor#visit(CatchClause) */ /* * @see ASTVisitor#visit(SynchronizedStatement) */ /* * @see ASTVisitor#visit(WhileStatement) */ public boolean visit( [[#variableb83a69c0]] node) { this.result.append( [[#variableb83a6940]]); //$NON-NLS-1$ getChildNode(node, [[#variableb83a69c0]]. [[#variableb83a68c0]]).accept(this ); this.result.append(')'); getChildNode(node, [[#variableb83a69c0]]. [[#variableb83a6840]]).accept(this ); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b83a69c0]] | CastExpression |
1 | 2 | [[#b83a69c0]] | CatchClause |
1 | 3 | [[#b83a69c0]] | SynchronizedStatement |
1 | 4 | [[#b83a69c0]] | WhileStatement |
2 | 1 | [[#b83a6940]] | '(' |
2 | 2 | [[#b83a6940]] | "catch (" |
2 | 3 | [[#b83a6940]] | "synchronized (" |
2 | 4 | [[#b83a6940]] | "while (" |
3 | 1 | [[#b83a68c0]] | TYPE_PROPERTY |
3 | 2 | [[#b83a68c0]] | EXCEPTION_PROPERTY |
3 | 3 | [[#b83a68c0]] | EXPRESSION_PROPERTY |
3 | 4 | [[#b83a68c0]] | EXPRESSION_PROPERTY |
4 | 1 | [[#b83a6840]] | EXPRESSION_PROPERTY |
4 | 2 | [[#b83a6840]] | BODY_PROPERTY |
4 | 3 | [[#b83a6840]] | BODY_PROPERTY |
4 | 4 | [[#b83a6840]] | BODY_PROPERTY |