CloneSet6331


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3250.957statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13121
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java
23232
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
Clone Instance
1
Line Count
3
Source Line
121
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java

                rewrite.replace(expression, newDecl, null);

                addLinkedPosition(rewrite.track(newDeclFrag.getName()), true, KEY_NAME);


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

                        rewrite.replace(assignment, newDecl, null);

                        addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE);


Clone AbstractionParameter Count: 5Parameter Bindings

rewrite.replace( [[#variable5fdb7400]], newDecl, null);
addLinkedPosition(rewrite.track( [[#variable5fdb73a0]]. [[#variable5fdb7220]]()),  [[#variable5fdb72e0]],  [[#variable5fdb6080]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5fdb7400]]
expression 
12[[#5fdb7400]]
assignment 
21[[#5fdb73a0]]
newDeclFrag 
22[[#5fdb73a0]]
newDecl 
31[[#5fdb7220]]
getName 
32[[#5fdb7220]]
getType 
41[[#5fdb72e0]]
true 
42[[#5fdb72e0]]
false 
51[[#5fdb6080]]
KEY_NAME 
52[[#5fdb6080]]
KEY_TYPE