CloneSet5076


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3240.957statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13427
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
23433
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
Clone Instance
1
Line Count
3
Source Line
427
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java

                AssignToVariableAssistProposal localProposal = new AssignToVariableAssistProposal(cu, AssignToVariableAssistProposal.LOCAL, expressionStatement, typeBinding, 2);
                localProposal.setCommandId(ASSIGN_TO_LOCAL_ID);
                resultingCollections.add(localProposal);


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

                        AssignToVariableAssistProposal fieldProposal = new AssignToVariableAssistProposal(cu, AssignToVariableAssistProposal.FIELD, expressionStatement, typeBinding, 1);
                        fieldProposal.setCommandId(ASSIGN_TO_FIELD_ID);
                        resultingCollections.add(fieldProposal);


Clone AbstractionParameter Count: 4Parameter Bindings

AssignToVariableAssistProposal  [[#variable5a8eeba0]]= new AssignToVariableAssistProposal(cu, AssignToVariableAssistProposal. [[#variable5a8eeb20]], expressionStatement, typeBinding,  [[#variable5469fba0]]);
 [[#variable5a8eeba0]].setCommandId( [[#variable5469fbc0]]);
resultingCollections.add( [[#variable5a8eeba0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a8eeba0]]
localProposal 
12[[#5a8eeba0]]
fieldProposal 
21[[#5a8eeb20]]
LOCAL 
22[[#5a8eeb20]]
FIELD 
31[[#5469fba0]]
2 
32[[#5469fba0]]
1 
41[[#5469fbc0]]
ASSIGN_TO_LOCAL_ID 
42[[#5469fbc0]]
ASSIGN_TO_FIELD_ID