Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.963 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 183 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PromoteTempWizard.java |
2 | 4 | 200 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PromoteTempWizard.java |
| ||||
fDeclareStaticCheckbox.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { getPromoteTempRefactoring().setDeclareStatic(fDeclareStaticCheckbox.getSelection()); updateButtonsEnablement(); } } ); |
| ||||
fDeclareFinalCheckbox.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { getPromoteTempRefactoring().setDeclareFinal(fDeclareFinalCheckbox.getSelection()); updateButtonsEnablement(); } } ); |
| |||
[[#variable9aeea1c0]].addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { getPromoteTempRefactoring(). [[#variable9aeea120]]( [[#variable9aeea1c0]].getSelection()); updateButtonsEnablement(); } } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9aeea1c0]] | fDeclareStaticCheckbox |
1 | 2 | [[#9aeea1c0]] | fDeclareFinalCheckbox |
2 | 1 | [[#9aeea120]] | setDeclareStatic |
2 | 2 | [[#9aeea120]] | setDeclareFinal |