CloneSet3778


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5340.958class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151040
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
251000
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
351317
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
Clone Instance
1
Line Count
5
Source Line
1040
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

        /*
         * @see ASTVisitor#visit(ParenthesizedExpression)
         */
        public boolean visit(ParenthesizedExpression node) {
                this.buffer.append("("); //$NON-NLS-1$
                node.getExpression().accept(this );
                this.buffer.append(")"); //$NON-NLS-1$
                return false;
        }


Clone Instance
2
Line Count
5
Source Line
1000
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java

        /*
         * @see ASTVisitor#visit(ParenthesizedExpression)
         */
        public boolean visit(ParenthesizedExpression node) {
                this.fBuffer.append("("); //$NON-NLS-1$
                node.getExpression().accept(this );
                this.fBuffer.append(")"); //$NON-NLS-1$
                return false;
        }


Clone Instance
3
Line Count
5
Source Line
1317
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java

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


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * @see ASTVisitor#visit(ParenthesizedExpression)
         */
/*
         * @see ASTVisitor#visit(ThrowStatement)
         */
public boolean visit( [[#variable53938e60]] node) {
  this. [[#variable53938e00]].append( [[#variable53938d80]]); //$NON-NLS-1$
  node.getExpression().accept(this );
  this. [[#variable53938e00]].append( [[#variable53938ca0]]); //$NON-NLS-1$
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53938e60]]
ParenthesizedExpression 
12[[#53938e60]]
ThrowStatement 
13[[#53938e60]]
ParenthesizedExpression 
21[[#53938e00]]
fBuffer 
22[[#53938e00]]
fBuffer 
23[[#53938e00]]
buffer 
31[[#53938d80]]
"(" 
32[[#53938d80]]
"throw " 
33[[#53938d80]]
"(" 
41[[#53938ca0]]
")" 
42[[#53938ca0]]
";" 
43[[#53938ca0]]
")"