Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.994 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 3659 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java |
2 | 13 | 3721 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java |
| ||||
/** * @see ASTVisitor#visit(VariableDeclarationExpression) */ public boolean visit(VariableDeclarationExpression node) { /* if it is in the code to execute, return <code>false</code>, * we don't use the standart accept order. * Otherwise, return true. We want to search the code to execute * in variable declarations (in case of inner classes). */ if ( !isActive()) { return true; } for (Iterator iter = node.fragments().iterator(); iter.hasNext();) { ((VariableDeclarationFragment) iter.next()).accept(this ); } return false; } |
| ||||
/** * @see ASTVisitor#visit(VariableDeclarationStatement) */ public boolean visit(VariableDeclarationStatement node) { /* if it is in the code to execute, return <code>false</code>, * we don't use the standart accept order. * Otherwise, return true. We want to search the code to execute * in variable declarations (in case of inner classes). */ if ( !isActive()) { return true; } for (Iterator iter = node.fragments().iterator(); iter.hasNext();) { ((VariableDeclarationFragment) iter.next()).accept(this ); } return false; } |
| |||
/** * @see ASTVisitor#visit(VariableDeclarationExpression) */ /** * @see ASTVisitor#visit(VariableDeclarationStatement) */ public boolean visit( [[#variable72e9b1a0]] node) { /* if it is in the code to execute, return <code>false</code>, * we don't use the standart accept order. * Otherwise, return true. We want to search the code to execute * in variable declarations (in case of inner classes). */ if ( !isActive()) { return true; } for (Iterator iter = node.fragments().iterator(); iter.hasNext();) { ((VariableDeclarationFragment) iter.next()).accept(this ); } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#72e9b1a0]] | VariableDeclarationExpression |
1 | 2 | [[#72e9b1a0]] | VariableDeclarationStatement |