Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.991 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1302 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java |
2 | 8 | 1332 | 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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ba33df20]] | UnresolvedElementsSubProcessor_changeparamsignature_constr_description |
1 | 2 | [[#ba33df20]] | UnresolvedElementsSubProcessor_swapparams_constr_description |
2 | 1 | [[#a3810400]] | UnresolvedElementsSubProcessor_changeparamsignature_description |
2 | 2 | [[#a3810400]] | UnresolvedElementsSubProcessor_swapparams_description |
3 | 1 | [[#a3810420]] | 7 |
3 | 2 | [[#a3810420]] | 5 |