CloneSet1772


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8340.955statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17118
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java
28851
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
38195
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java
Clone Instance
1
Line Count
7
Source Line
118
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java

                        IDialogSettings dialogSettings = JavaPlugin.getDefault().getDialogSettings();
                        fSettings = dialogSettings.getSection(SETTINGS_SECTION);
                        if (fSettings == null) {
                                fSettings = dialogSettings.addNewSection(SETTINGS_SECTION);
                                fSettings.put(SETTINGS_SHOWTYPES, true);
                        }
                        fShowTypes = fSettings.getBoolean(SETTINGS_SHOWTYPES);


Clone Instance
2
Line Count
8
Source Line
851
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java

                        // http://bugs.eclipse.org/bugs/show_bug.cgi?id=19253
                        IDialogSettings dialogSettings = JavaPlugin.getDefault().getDialogSettings();
                        fSettings = dialogSettings.getSection(SETTINGS_SECTION);
                        if (fSettings == null) {
                                fSettings = dialogSettings.addNewSection(SETTINGS_SECTION);
                                fSettings.put(SORT_ORDER, false);
                        }

                        fSortOrder = fSettings.getBoolean(SORT_ORDER);


Clone Instance
3
Line Count
8
Source Line
195
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java

                        IDialogSettings dialogSettings = JavaPlugin.getDefault().getDialogSettings();
                        fAddConstructorsSettings = dialogSettings.getSection(SETTINGS_SECTION);
                        if (fAddConstructorsSettings == null) {
                                fAddConstructorsSettings = dialogSettings.addNewSection(SETTINGS_SECTION);
                                fAddConstructorsSettings.put(OMIT_SUPER, false);
                        }

                        fOmitSuper = fAddConstructorsSettings.getBoolean(OMIT_SUPER);


Clone AbstractionParameter Count: 4Parameter Bindings

// http://bugs.eclipse.org/bugs/show_bug.cgi?id=19253
IDialogSettings dialogSettings = JavaPlugin.getDefault().getDialogSettings();
 [[#variableb6ac77e0]]= dialogSettings.getSection(SETTINGS_SECTION);
if ( [[#variableb6ac77e0]]== null) {
   [[#variableb6ac77e0]]= dialogSettings.addNewSection(SETTINGS_SECTION);
   [[#variableb6ac77e0]].put( [[#variableb6ac7740]],  [[#variable9d16e0a0]]);
}
 [[#variable9df583a0]]= [[#variableb6ac77e0]].getBoolean( [[#variableb6ac7740]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6ac77e0]]
fAddConstructorsSettings 
12[[#b6ac77e0]]
fSettings 
13[[#b6ac77e0]]
fSettings 
21[[#b6ac7740]]
OMIT_SUPER 
22[[#b6ac7740]]
SETTINGS_SHOWTYPES 
23[[#b6ac7740]]
SORT_ORDER 
31[[#9d16e0a0]]
false 
32[[#9d16e0a0]]
true 
33[[#9d16e0a0]]
false 
41[[#9df583a0]]
fOmitSuper 
42[[#9df583a0]]
fShowTypes 
43[[#9df583a0]]
fSortOrder