Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.966 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 57 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java |
2 | 8 | 155 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java |
| ||||
public boolean isSearchUsingImplementorsEnabled() { IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore(); return settings.getBoolean(PREF_USE_IMPLEMENTORS); } public void setSearchUsingImplementorsEnabled(boolean enabled) { IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore(); settings.setValue(PREF_USE_IMPLEMENTORS, enabled); } |
| ||||
public boolean isFilterEnabled() { IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore(); return settings.getBoolean(PREF_USE_FILTERS); } public void setFilterEnabled(boolean filterEnabled) { IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore(); settings.setValue(PREF_USE_FILTERS, filterEnabled); } |
| |||
public boolean [[#variable4d89b340]]() { IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore(); return settings.getBoolean( [[#variable4d89b260]]); } public void [[#variable4d89b200]](boolean [[#variable951ff420]]) { IPreferenceStore settings = JavaPlugin.getDefault().getPreferenceStore(); settings.setValue( [[#variable4d89b260]], [[#variable951ff420]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4d89b340]] | isFilterEnabled |
1 | 2 | [[#4d89b340]] | isSearchUsingImplementorsEnabled |
2 | 1 | [[#4d89b260]] | PREF_USE_FILTERS |
2 | 2 | [[#4d89b260]] | PREF_USE_IMPLEMENTORS |
3 | 1 | [[#4d89b200]] | setFilterEnabled |
3 | 2 | [[#4d89b200]] | setSearchUsingImplementorsEnabled |
4 | 1 | [[#951ff420]] | filterEnabled |
4 | 2 | [[#951ff420]] | enabled |