CloneSet1140


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6440.965class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16288
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
26299
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
36873
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
461035
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
Clone Instance
1
Line Count
6
Source Line
288
Source File
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;
        }


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

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


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

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


Clone Instance
4
Line Count
6
Source Line
1035
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

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


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b83a69c0]]
CastExpression 
12[[#b83a69c0]]
CatchClause 
13[[#b83a69c0]]
SynchronizedStatement 
14[[#b83a69c0]]
WhileStatement 
21[[#b83a6940]]
'(' 
22[[#b83a6940]]
"catch (" 
23[[#b83a6940]]
"synchronized (" 
24[[#b83a6940]]
"while (" 
31[[#b83a68c0]]
TYPE_PROPERTY 
32[[#b83a68c0]]
EXCEPTION_PROPERTY 
33[[#b83a68c0]]
EXPRESSION_PROPERTY 
34[[#b83a68c0]]
EXPRESSION_PROPERTY 
41[[#b83a6840]]
EXPRESSION_PROPERTY 
42[[#b83a6840]]
BODY_PROPERTY 
43[[#b83a6840]]
BODY_PROPERTY 
44[[#b83a6840]]
BODY_PROPERTY