CloneSet2942


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12260.972class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11233
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/ShowInheritedMembersAction.java
21232
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SortByDefiningTypeAction.java
Clone Instance
1
Line Count
12
Source Line
33
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/ShowInheritedMembersAction.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);
        }


Clone Instance
2
Line Count
12
Source Line
32
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/SortByDefiningTypeAction.java

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


Clone AbstractionParameter Count: 6Parameter Bindings

/** 
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9bb34820]]
SortByDefiningTypeAction 
12[[#9bb34820]]
ShowInheritedMembersAction 
21[[#9bb34780]]
SortByDefiningTypeAction_label 
22[[#9bb34780]]
ShowInheritedMembersAction_label 
31[[#9bb346c0]]
SortByDefiningTypeAction_description 
32[[#9bb346c0]]
ShowInheritedMembersAction_description 
41[[#9bb34660]]
SortByDefiningTypeAction_tooltip 
42[[#9bb34660]]
ShowInheritedMembersAction_tooltip 
51[[#b0829c20]]
"definingtype_sort_co.gif" 
52[[#b0829c20]]
"inher_co.gif" 
61[[#9bb34680]]
SORT_BY_DEFINING_TYPE_ACTION 
62[[#9bb34680]]
SHOW_INHERITED_ACTION