CloneSet2685


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

        /*
         * @see ASTVisitor#visit(DoStatement)
         */
        public boolean visit(DoStatement node) {
                this.result.append("do "); //$NON-NLS-1$
                getChildNode(node, DoStatement.BODY_PROPERTY).accept(this );
                this.result.append(" while ("); //$NON-NLS-1$
                getChildNode(node, DoStatement.EXPRESSION_PROPERTY).accept(this );
                this.result.append(");"); //$NON-NLS-1$
                return false;
        }


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

        /* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.SingleMemberAnnotation)
         */
        public boolean visit(SingleMemberAnnotation node) {
                this.result.append('@');
                getChildNode(node, SingleMemberAnnotation.TYPE_NAME_PROPERTY).accept(this );
                this.result.append('(');
                getChildNode(node, SingleMemberAnnotation.VALUE_PROPERTY).accept(this );
                this.result.append(')');
                return false;
        }


Clone AbstractionParameter Count: 6Parameter Bindings

/*
         * @see ASTVisitor#visit(DoStatement)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.SingleMemberAnnotation)
         */
public boolean visit( [[#variable63377720]] node) {
  this.result.append( [[#variable63377680]]); //$NON-NLS-1$
  getChildNode(node,  [[#variable63377720]]. [[#variable633775e0]]).accept(this );
  this.result.append( [[#variable63377540]]); //$NON-NLS-1$
  getChildNode(node,  [[#variable63377720]]. [[#variable633774a0]]).accept(this );
  this.result.append( [[#variable63377440]]); //$NON-NLS-1$
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63377720]]
DoStatement 
12[[#63377720]]
SingleMemberAnnotation 
21[[#63377680]]
"do " 
22[[#63377680]]
'@' 
31[[#633775e0]]
BODY_PROPERTY 
32[[#633775e0]]
TYPE_NAME_PROPERTY 
41[[#63377540]]
" while (" 
42[[#63377540]]
'(' 
51[[#633774a0]]
EXPRESSION_PROPERTY 
52[[#633774a0]]
VALUE_PROPERTY 
61[[#63377440]]
");" 
62[[#63377440]]
')'