Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 4 | 0.955 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 118 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java |
2 | 8 | 851 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java |
3 | 8 | 195 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.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); |
| ||||
// 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); |
| ||||
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); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b6ac77e0]] | fAddConstructorsSettings |
1 | 2 | [[#b6ac77e0]] | fSettings |
1 | 3 | [[#b6ac77e0]] | fSettings |
2 | 1 | [[#b6ac7740]] | OMIT_SUPER |
2 | 2 | [[#b6ac7740]] | SETTINGS_SHOWTYPES |
2 | 3 | [[#b6ac7740]] | SORT_ORDER |
3 | 1 | [[#9d16e0a0]] | false |
3 | 2 | [[#9d16e0a0]] | true |
3 | 3 | [[#9d16e0a0]] | false |
4 | 1 | [[#9df583a0]] | fOmitSuper |
4 | 2 | [[#9df583a0]] | fShowTypes |
4 | 3 | [[#9df583a0]] | fSortOrder |