Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.988 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 102 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ConvertAnonymousToNestedWizard.java |
2 | 11 | 209 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PromoteTempWizard.java |
| ||||
int[] availableVisibilities = getConvertRefactoring().getAvailableVisibilities(); int currectVisibility = getConvertRefactoring().getVisibility(); IVisibilityChangeListener visibilityChangeListener = new IVisibilityChangeListener() { public void visibilityChanged(int newVisibility) { getConvertRefactoring().setVisibility(newVisibility); } public void modifierChanged(int modifier, boolean isChecked) { } }; Composite visibilityComposite = VisibilityControlUtil.createVisibilityControl(result, visibilityChangeListener, availableVisibilities, currectVisibility); |
| ||||
int[] availableVisibilities = getPromoteTempRefactoring().getAvailableVisibilities(); int currectVisibility = getPromoteTempRefactoring().getVisibility(); IVisibilityChangeListener visibilityChangeListener = new IVisibilityChangeListener() { public void visibilityChanged(int newVisibility) { getPromoteTempRefactoring().setVisibility(newVisibility); } public void modifierChanged(int modifier, boolean isChecked) { } }; Composite visibilityComposite = VisibilityControlUtil.createVisibilityControl(result, visibilityChangeListener, availableVisibilities, currectVisibility); |
| |||
int[] availableVisibilities = [[#variableb50e2800]]().getAvailableVisibilities(); int currectVisibility = [[#variableb50e2800]]().getVisibility(); IVisibilityChangeListener visibilityChangeListener = new IVisibilityChangeListener() { public void visibilityChanged(int newVisibility) { [[#variableb50e2800]]().setVisibility(newVisibility); } public void modifierChanged(int modifier, boolean isChecked) { } }; Composite visibilityComposite = VisibilityControlUtil.createVisibilityControl(result, visibilityChangeListener, availableVisibilities, currectVisibility); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b50e2800]] | getPromoteTempRefactoring |
1 | 2 | [[#b50e2800]] | getConvertRefactoring |