CloneSet2712


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.965statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16134
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
25270
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
Clone Instance
1
Line Count
6
Source Line
134
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java

                        addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE);
                        addLinkedPosition(rewrite.track(node), true, KEY_NAME);
                        addLinkedPosition(rewrite.track(newDecl.getName()), false, KEY_NAME);

                        // add javadoc tag
                        Javadoc javadoc = methodDeclaration.getJavadoc();


Clone Instance
2
Line Count
5
Source Line
270
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java

//              newDeclFrag.setInitializer(ASTNodeFactory.newDefaultExpression(ast, newDecl.getType(), 0));

                addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE);
                addLinkedPosition(rewrite.track(node), true, KEY_NAME);
                addLinkedPosition(rewrite.track(newDeclFrag.getName()), false, KEY_NAME);

                Statement statement = dominantStatement;


Clone AbstractionParameter Count: 4Parameter Bindings

//              newDeclFrag.setInitializer(ASTNodeFactory.newDefaultExpression(ast, newDecl.getType(), 0));
addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE);
addLinkedPosition(rewrite.track(node), true, KEY_NAME);
addLinkedPosition(rewrite.track( [[#variable9e201660]].getName()), false, KEY_NAME);
 [[#variable9df5fb40]]  [[#variable9e2015e0]]= [[#variable9e201540]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e201660]]
newDecl 
12[[#9e201660]]
newDeclFrag 
21[[#9df5fb40]]
// add javadoc tag
Javadoc 
22[[#9df5fb40]]
Statement 
31[[#9e2015e0]]
javadoc 
32[[#9e2015e0]]
statement 
41[[#9e201540]]
methodDeclaration.getJavadoc() 
42[[#9e201540]]
dominantStatement