CloneSet4862


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

        /*
         * @see ASTVisitor#visit(ParenthesizedExpression)
         */
        public boolean visit(ParenthesizedExpression node) {
                this.result.append('(');
                getChildNode(node, ParenthesizedExpression.EXPRESSION_PROPERTY).accept(this );
                this.result.append(')');
                return false;
        }


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

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


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see ASTVisitor#visit(ParenthesizedExpression)
         */
/*
         * @see ASTVisitor#visit(ThrowStatement)
         */
public boolean visit( [[#variable99f0ec60]] node) {
  this.result.append( [[#variable99f0ebc0]]); //$NON-NLS-1$
  getChildNode(node,  [[#variable99f0ec60]].EXPRESSION_PROPERTY).accept(this );
  this.result.append( [[#variable99f0eb20]]);
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99f0ec60]]
ParenthesizedExpression 
12[[#99f0ec60]]
ThrowStatement 
21[[#99f0ebc0]]
'(' 
22[[#99f0ebc0]]
"throw " 
31[[#99f0eb20]]
')' 
32[[#99f0eb20]]
';'