Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 6 | 0.974 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 129 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java |
2 | 12 | 161 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java |
3 | 12 | 177 | 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); } |
| ||||
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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9ce99ea0]] | MemberFilterActionGroup_hide_localtypes_label |
1 | 2 | [[#9ce99ea0]] | MemberFilterActionGroup_hide_nonpublic_label |
1 | 3 | [[#9ce99ea0]] | MemberFilterActionGroup_hide_fields_label |
2 | 1 | [[#9ce99e00]] | FILTER_LOCALTYPES_ACTION |
2 | 2 | [[#9ce99e00]] | FILTER_PUBLIC_ACTION |
2 | 3 | [[#9ce99e00]] | FILTER_FIELDS_ACTION |
3 | 1 | [[#9ce99d80]] | hideLocalTypes |
3 | 2 | [[#9ce99d80]] | hideNonPublic |
3 | 3 | [[#9ce99d80]] | hideFields |
4 | 1 | [[#9ce99d00]] | MemberFilterActionGroup_hide_localtypes_description |
4 | 2 | [[#9ce99d00]] | MemberFilterActionGroup_hide_nonpublic_description |
4 | 3 | [[#9ce99d00]] | MemberFilterActionGroup_hide_fields_description |
5 | 1 | [[#9ce99c80]] | MemberFilterActionGroup_hide_localtypes_tooltip |
5 | 2 | [[#9ce99c80]] | MemberFilterActionGroup_hide_nonpublic_tooltip |
5 | 3 | [[#9ce99c80]] | MemberFilterActionGroup_hide_fields_tooltip |
6 | 1 | [[#9ce99c00]] | "localtypes_co.gif" |
6 | 2 | [[#9ce99c00]] | "public_co.gif" |
6 | 3 | [[#9ce99c00]] | "fields_co.gif" |