CloneSet1542


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.991statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181302
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
281332
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
Clone Instance
1
Line Count
8
Source Line
1302
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java

                                                if (methodDecl.isConstructor()) {
                                                        label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_swapparams_constr_description, args);
                                                }
                                                else   {
                                                        label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_swapparams_description, args);
                                                }
                                                Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
                                                ChangeMethodSignatureProposal proposal = new ChangeMethodSignatureProposal(label, targetCU, invocationNode, methodDecl, changeDesc, null, 5, image);
                                                proposals.add(proposal);


Clone Instance
2
Line Count
8
Source Line
1332
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java

                                        if (methodDecl.isConstructor()) {
                                                label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_changeparamsignature_constr_description, args);
                                        }
                                        else   {
                                                label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_changeparamsignature_description, args);
                                        }
                                        Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
                                        ChangeMethodSignatureProposal proposal = new ChangeMethodSignatureProposal(label, targetCU, invocationNode, methodDecl, changeDesc, null, 7, image);
                                        proposals.add(proposal);


Clone AbstractionParameter Count: 3Parameter Bindings

if (methodDecl.isConstructor()) {
  label = Messages.format(CorrectionMessages. [[#variableba33df20]], args);
}
else {
  label = Messages.format(CorrectionMessages. [[#variablea3810400]], args);
}
Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
ChangeMethodSignatureProposal proposal = new ChangeMethodSignatureProposal(label, targetCU, invocationNode, methodDecl, changeDesc, null,  [[#variablea3810420]], image);
proposals.add(proposal);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba33df20]]
UnresolvedElementsSubProcessor_changeparamsignature_constr_description 
12[[#ba33df20]]
UnresolvedElementsSubProcessor_swapparams_constr_description 
21[[#a3810400]]
UnresolvedElementsSubProcessor_changeparamsignature_description 
22[[#a3810400]]
UnresolvedElementsSubProcessor_swapparams_description 
31[[#a3810420]]
7 
32[[#a3810420]]
5