CloneSet1548


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9340.968class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19274
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
29383
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
39727
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
Clone Instance
1
Line Count
9
Source Line
274
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @see ASTVisitor#visit(BreakStatement)
         */
        public boolean visit(BreakStatement node) {
                this.result.append("break"); //$NON-NLS-1$
                ASTNode label = getChildNode(node, BreakStatement.LABEL_PROPERTY);
                if (label != null) {
                        this.result.append(' ');
                        label.accept(this );
                }
                this.result.append(';');
                return false;
        }


Clone Instance
2
Line Count
9
Source Line
383
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @see ASTVisitor#visit(ContinueStatement)
         */
        public boolean visit(ContinueStatement node) {
                this.result.append("continue"); //$NON-NLS-1$
                ASTNode label = getChildNode(node, ContinueStatement.LABEL_PROPERTY);
                if (label != null) {
                        this.result.append(' ');
                        label.accept(this );
                }
                this.result.append(';');
                return false;
        }


Clone Instance
3
Line Count
9
Source Line
727
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

        /*
         * @see ASTVisitor#visit(ReturnStatement)
         */
        public boolean visit(ReturnStatement node) {
                this.result.append("return"); //$NON-NLS-1$
                ASTNode expression = getChildNode(node, ReturnStatement.EXPRESSION_PROPERTY);
                if (expression != null) {
                        this.result.append(' ');
                        expression.accept(this );
                }
                this.result.append(';');
                return false;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * @see ASTVisitor#visit(BreakStatement)
         */
/*
         * @see ASTVisitor#visit(ContinueStatement)
         */
/*
         * @see ASTVisitor#visit(ReturnStatement)
         */
public boolean visit( [[#variable559ff200]] node) {
  this.result.append( [[#variable559ff1a0]]); //$NON-NLS-1$
  ASTNode  [[#variable559ff0e0]]= getChildNode(node,  [[#variable559ff200]]. [[#variable559ff0c0]]);
  if ( [[#variable559ff0e0]]!= null) {
    this.result.append(' ');
     [[#variable559ff0e0]].accept(this );
  }
  this.result.append(';');
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#559ff200]]
BreakStatement 
12[[#559ff200]]
ContinueStatement 
13[[#559ff200]]
ReturnStatement 
21[[#559ff1a0]]
"break" 
22[[#559ff1a0]]
"continue" 
23[[#559ff1a0]]
"return" 
31[[#559ff0e0]]
label 
32[[#559ff0e0]]
label 
33[[#559ff0e0]]
expression 
41[[#559ff0c0]]
LABEL_PROPERTY 
42[[#559ff0c0]]
LABEL_PROPERTY 
43[[#559ff0c0]]
EXPRESSION_PROPERTY