CloneSet2993


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.981statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112875
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java
212836
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java
Clone Instance
1
Line Count
12
Source Line
875
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NaiveASTFlattener.java

                if ( !node.isConstructor()) {
                        if (node.getAST().apiLevel() == AST.JLS2_INTERNAL) {
                                node.internalGetReturnType().accept(this );
                        }
                        else   {
                                if (node.getReturnType2() != null) {
                                        node.getReturnType2().accept(this );
                                }
                                else   {
                                        // methods really ought to have a return type
                                        this.buffer.append("void"); //$NON-NLS-1$
                                }
                        }
                        this.buffer.append(" "); //$NON-NLS-1$
                }


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

                if ( !node.isConstructor()) {
                        if (node.getAST().apiLevel() == AST.JLS2) {
                                node.getReturnType().accept(this );
                        }
                        else   {
                                if (node.getReturnType2() != null) {
                                        node.getReturnType2().accept(this );
                                }
                                else   {
                                        // methods really ought to have a return type
                                        this.fBuffer.append("void"); //$NON-NLS-1$
                                }
                        }
                        this.fBuffer.append(" "); //$NON-NLS-1$
                }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( !node.isConstructor()) {
  if (node.getAST().apiLevel() == AST. [[#variable54f7c7c0]]) {
    node. [[#variable54f7c6a0]]().accept(this );
  }
  else {
    if (node.getReturnType2() != null) {
      node.getReturnType2().accept(this );
    }
    else {
      // methods really ought to have a return type
      this. [[#variable54f7c700]].append("void"); //$NON-NLS-1$
    }
  }
  this. [[#variable54f7c700]].append(" "); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54f7c7c0]]
JLS2 
12[[#54f7c7c0]]
JLS2_INTERNAL 
21[[#54f7c6a0]]
getReturnType 
22[[#54f7c6a0]]
internalGetReturnType 
31[[#54f7c700]]
fBuffer 
32[[#54f7c700]]
buffer