CloneSet1292


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6560.953class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16333
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
26344
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
36311
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
46322
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
561550
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
Clone Instance
1
Line Count
6
Source Line
333
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

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


Clone Instance
2
Line Count
6
Source Line
344
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

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


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

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


Clone Instance
4
Line Count
6
Source Line
322
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java

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


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

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


Clone AbstractionParameter Count: 6Parameter Bindings

/*
         * @see ASTVisitor#visit(CastExpression)
         */
/*
         * @see ASTVisitor#visit(CatchClause)
         */
/*
         * @see ASTVisitor#visit(WhileStatement)
         */
public boolean visit( [[#variableb8097020]] node) {
  this. [[#variableb8096f80]].append( [[#variableb8096ee0]]); //$NON-NLS-1$
  node. [[#variableb8096e80]]().accept(this );
  this. [[#variableb8096f80]].append( [[#variableb8096e00]]); //$NON-NLS-1$
  node. [[#variableb8096da0]]().accept(this );
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b8097020]]
CastExpression 
12[[#b8097020]]
CatchClause 
13[[#b8097020]]
CatchClause 
14[[#b8097020]]
WhileStatement 
15[[#b8097020]]
CastExpression 
21[[#b8096f80]]
fBuffer 
22[[#b8096f80]]
fBuffer 
23[[#b8096f80]]
buffer 
24[[#b8096f80]]
fBuffer 
25[[#b8096f80]]
buffer 
31[[#b8096ee0]]
"(" 
32[[#b8096ee0]]
"catch (" 
33[[#b8096ee0]]
"catch (" 
34[[#b8096ee0]]
"while (" 
35[[#b8096ee0]]
"(" 
41[[#b8096e80]]
getType 
42[[#b8096e80]]
getException 
43[[#b8096e80]]
getException 
44[[#b8096e80]]
getExpression 
45[[#b8096e80]]
getType 
51[[#b8096e00]]
")" 
52[[#b8096e00]]
") " 
53[[#b8096e00]]
") " 
54[[#b8096e00]]
") " 
55[[#b8096e00]]
")" 
61[[#b8096da0]]
getExpression 
62[[#b8096da0]]
getBody 
63[[#b8096da0]]
getBody 
64[[#b8096da0]]
getBody 
65[[#b8096da0]]
getExpression