CloneSet3888


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.966class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11057
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java
28155
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java
Clone Instance
1
Line Count
10
Source Line
57
Source File
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);
    }


Clone Instance
2
Line Count
8
Source Line
155
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java

    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);
    }


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4d89b340]]
isFilterEnabled 
12[[#4d89b340]]
isSearchUsingImplementorsEnabled 
21[[#4d89b260]]
PREF_USE_FILTERS 
22[[#4d89b260]]
PREF_USE_IMPLEMENTORS 
31[[#4d89b200]]
setFilterEnabled 
32[[#4d89b200]]
setSearchUsingImplementorsEnabled 
41[[#951ff420]]
filterEnabled 
42[[#951ff420]]
enabled