CloneSet645


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12360.974statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112129
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java
212161
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java
312177
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java
Clone Instance
1
Line Count
12
Source Line
129
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java

                if (isSet(filterProperty, availableFilters)) {
                        boolean filterEnabled = store.getBoolean(getPreferenceKey(filterProperty));
                        if (filterEnabled) {
                                fFilter.addFilter(filterProperty);
                        }
                        title = ActionMessages.MemberFilterActionGroup_hide_fields_label;
                        helpContext = IJavaHelpContextIds.FILTER_FIELDS_ACTION;
                        MemberFilterAction hideFields = new MemberFilterAction(this, title, filterProperty, helpContext, filterEnabled);
                        hideFields.setDescription(ActionMessages.MemberFilterActionGroup_hide_fields_description);
                        hideFields.setToolTipText(ActionMessages.MemberFilterActionGroup_hide_fields_tooltip);
                        JavaPluginImages.setLocalImageDescriptors(hideFields, "fields_co.gif"); //$NON-NLS-1$
                        actions.add(hideFields);
                }


Clone Instance
2
Line Count
12
Source Line
161
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java

                if (isSet(filterProperty, availableFilters)) {
                        boolean filterEnabled = store.getBoolean(getPreferenceKey(filterProperty));
                        if (filterEnabled) {
                                fFilter.addFilter(filterProperty);
                        }
                        title = ActionMessages.MemberFilterActionGroup_hide_nonpublic_label;
                        helpContext = IJavaHelpContextIds.FILTER_PUBLIC_ACTION;
                        MemberFilterAction hideNonPublic = new MemberFilterAction(this, title, filterProperty, helpContext, filterEnabled);
                        hideNonPublic.setDescription(ActionMessages.MemberFilterActionGroup_hide_nonpublic_description);
                        hideNonPublic.setToolTipText(ActionMessages.MemberFilterActionGroup_hide_nonpublic_tooltip);
                        JavaPluginImages.setLocalImageDescriptors(hideNonPublic, "public_co.gif"); //$NON-NLS-1$
                        actions.add(hideNonPublic);
                }


Clone Instance
3
Line Count
12
Source Line
177
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java

                if (isSet(filterProperty, availableFilters)) {
                        boolean filterEnabled = store.getBoolean(getPreferenceKey(filterProperty));
                        if (filterEnabled) {
                                fFilter.addFilter(filterProperty);
                        }
                        title = ActionMessages.MemberFilterActionGroup_hide_localtypes_label;
                        helpContext = IJavaHelpContextIds.FILTER_LOCALTYPES_ACTION;
                        MemberFilterAction hideLocalTypes = new MemberFilterAction(this, title, filterProperty, helpContext, filterEnabled);
                        hideLocalTypes.setDescription(ActionMessages.MemberFilterActionGroup_hide_localtypes_description);
                        hideLocalTypes.setToolTipText(ActionMessages.MemberFilterActionGroup_hide_localtypes_tooltip);
                        JavaPluginImages.setLocalImageDescriptors(hideLocalTypes, "localtypes_co.gif"); //$NON-NLS-1$
                        actions.add(hideLocalTypes);
                }


Clone AbstractionParameter Count: 6Parameter Bindings

if (isSet(filterProperty, availableFilters)) {
  boolean filterEnabled = store.getBoolean(getPreferenceKey(filterProperty));
  if (filterEnabled) {
    fFilter.addFilter(filterProperty);
  }
  title = ActionMessages. [[#variable9ce99ea0]];
  helpContext = IJavaHelpContextIds. [[#variable9ce99e00]];
  MemberFilterAction  [[#variable9ce99d80]]= new MemberFilterAction(this, title, filterProperty, helpContext, filterEnabled);
   [[#variable9ce99d80]].setDescription(ActionMessages. [[#variable9ce99d00]]);
   [[#variable9ce99d80]].setToolTipText(ActionMessages. [[#variable9ce99c80]]);
  JavaPluginImages.setLocalImageDescriptors( [[#variable9ce99d80]],  [[#variable9ce99c00]]); //$NON-NLS-1$
  actions.add( [[#variable9ce99d80]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ce99ea0]]
MemberFilterActionGroup_hide_localtypes_label 
12[[#9ce99ea0]]
MemberFilterActionGroup_hide_nonpublic_label 
13[[#9ce99ea0]]
MemberFilterActionGroup_hide_fields_label 
21[[#9ce99e00]]
FILTER_LOCALTYPES_ACTION 
22[[#9ce99e00]]
FILTER_PUBLIC_ACTION 
23[[#9ce99e00]]
FILTER_FIELDS_ACTION 
31[[#9ce99d80]]
hideLocalTypes 
32[[#9ce99d80]]
hideNonPublic 
33[[#9ce99d80]]
hideFields 
41[[#9ce99d00]]
MemberFilterActionGroup_hide_localtypes_description 
42[[#9ce99d00]]
MemberFilterActionGroup_hide_nonpublic_description 
43[[#9ce99d00]]
MemberFilterActionGroup_hide_fields_description 
51[[#9ce99c80]]
MemberFilterActionGroup_hide_localtypes_tooltip 
52[[#9ce99c80]]
MemberFilterActionGroup_hide_nonpublic_tooltip 
53[[#9ce99c80]]
MemberFilterActionGroup_hide_fields_tooltip 
61[[#9ce99c00]]
"localtypes_co.gif" 
62[[#9ce99c00]]
"public_co.gif" 
63[[#9ce99c00]]
"fields_co.gif"