Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.951 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 34 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/DelegateUIHelper.java |
2 | 13 | 49 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/DelegateUIHelper.java |
| ||||
{ final IDelegateUpdating updating = (IDelegateUpdating) refactoring.getAdapter(IDelegateUpdating.class ); if (updating == null || !updating.canEnableDelegateUpdating()) return null; final Button button = createCheckbox(parent, getDeprecateDelegateCheckBoxTitle(), loadDeprecateDelegateSetting(updating)); updating.setDeprecateDelegates(button.getSelection()); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { updating.setDeprecateDelegates(button.getSelection()); } } ); return button; } |
| ||||
{ final IDelegateUpdating updating = (IDelegateUpdating) refactoring.getAdapter(IDelegateUpdating.class ); if (updating == null || !updating.canEnableDelegateUpdating()) return null; final Button button = createCheckbox(parent, updating.getDelegateUpdatingTitle(plural), loadLeaveDelegateSetting(updating)); updating.setDelegateUpdating(button.getSelection()); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { updating.setDelegateUpdating(button.getSelection()); } } ); return button; } |
| |||
{ final IDelegateUpdating updating = (IDelegateUpdating) refactoring.getAdapter(IDelegateUpdating.class ); if (updating == null || !updating.canEnableDelegateUpdating()) return null; final Button button = createCheckbox(parent, [[#variablea524eb40]], [[#variablea524eae0]](updating)); updating. [[#variablea524ea40]](button.getSelection()); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { updating. [[#variablea524ea40]](button.getSelection()); } } ); return button; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a524eb40]] | getDeprecateDelegateCheckBoxTitle() |
1 | 2 | [[#a524eb40]] | updating.getDelegateUpdatingTitle(plural) |
2 | 1 | [[#a524eae0]] | loadDeprecateDelegateSetting |
2 | 2 | [[#a524eae0]] | loadLeaveDelegateSetting |
3 | 1 | [[#a524ea40]] | setDeprecateDelegates |
3 | 2 | [[#a524ea40]] | setDelegateUpdating |