CloneSet3935


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.994class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1133659
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java
2133721
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java
Clone Instance
1
Line Count
13
Source Line
3659
Source File
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;
        }


Clone Instance
2
Line Count
13
Source Line
3721
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/ASTInstructionCompiler.java

        /**
         * @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;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#72e9b1a0]]
VariableDeclarationExpression 
12[[#72e9b1a0]]
VariableDeclarationStatement