Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 6 | 0.972 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 33 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/ShowInheritedMembersAction.java |
2 | 12 | 32 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SortByDefiningTypeAction.java |
| ||||
/** * Creates the action. */ public ShowInheritedMembersAction(MethodsViewer viewer, boolean initValue) { super(TypeHierarchyMessages.ShowInheritedMembersAction_label); setDescription(TypeHierarchyMessages.ShowInheritedMembersAction_description); setToolTipText(TypeHierarchyMessages.ShowInheritedMembersAction_tooltip); JavaPluginImages.setLocalImageDescriptors(this, "inher_co.gif"); //$NON-NLS-1$ fMethodsViewer = viewer; PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.SHOW_INHERITED_ACTION); setChecked(initValue); } |
| ||||
/** * Creates the action. */ public SortByDefiningTypeAction(MethodsViewer viewer, boolean initValue) { super(TypeHierarchyMessages.SortByDefiningTypeAction_label); setDescription(TypeHierarchyMessages.SortByDefiningTypeAction_description); setToolTipText(TypeHierarchyMessages.SortByDefiningTypeAction_tooltip); JavaPluginImages.setLocalImageDescriptors(this, "definingtype_sort_co.gif"); //$NON-NLS-1$ fMethodsViewer = viewer; PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.SORT_BY_DEFINING_TYPE_ACTION); setChecked(initValue); } |
| |||
/** * Creates the action. */ public [[#variable9bb34820]](MethodsViewer viewer, boolean initValue) { super(TypeHierarchyMessages. [[#variable9bb34780]]); setDescription(TypeHierarchyMessages. [[#variable9bb346c0]]); setToolTipText(TypeHierarchyMessages. [[#variable9bb34660]]); JavaPluginImages.setLocalImageDescriptors(this, [[#variableb0829c20]]); //$NON-NLS-1$ fMethodsViewer = viewer; PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variable9bb34680]]); setChecked(initValue); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bb34820]] | SortByDefiningTypeAction |
1 | 2 | [[#9bb34820]] | ShowInheritedMembersAction |
2 | 1 | [[#9bb34780]] | SortByDefiningTypeAction_label |
2 | 2 | [[#9bb34780]] | ShowInheritedMembersAction_label |
3 | 1 | [[#9bb346c0]] | SortByDefiningTypeAction_description |
3 | 2 | [[#9bb346c0]] | ShowInheritedMembersAction_description |
4 | 1 | [[#9bb34660]] | SortByDefiningTypeAction_tooltip |
4 | 2 | [[#9bb34660]] | ShowInheritedMembersAction_tooltip |
5 | 1 | [[#b0829c20]] | "definingtype_sort_co.gif" |
5 | 2 | [[#b0829c20]] | "inher_co.gif" |
6 | 1 | [[#9bb34680]] | SORT_BY_DEFINING_TYPE_ACTION |
6 | 2 | [[#9bb34680]] | SHOW_INHERITED_ACTION |