CloneSet2570


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13240.974class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11348
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/HistoryDropDownAction.java
21246
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryDropDownAction.java
Clone Instance
1
Line Count
13
Source Line
48
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/HistoryDropDownAction.java

    public static final int RESULTS_IN_DROP_DOWN = 10;

    private CallHierarchyViewPart fView;

    private Menu fMenu;

    public HistoryDropDownAction(CallHierarchyViewPart view) {
        fView = view;
        fMenu = null;
        setToolTipText(CallHierarchyMessages.HistoryDropDownAction_tooltip);
        JavaPluginImages.setLocalImageDescriptors(this, "history_list.gif"); //$NON-NLS-1$

        PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.CALL_HIERARCHY_HISTORY_DROP_DOWN_ACTION);

        setMenuCreator(this );
    }


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

        public static final int RESULTS_IN_DROP_DOWN = 10;

        private TypeHierarchyViewPart fHierarchyView;

        private Menu fMenu;

        public HistoryDropDownAction(TypeHierarchyViewPart view) {
                fHierarchyView = view;
                fMenu = null;
                setToolTipText(TypeHierarchyMessages.HistoryDropDownAction_tooltip);
                JavaPluginImages.setLocalImageDescriptors(this, "history_list.gif"); //$NON-NLS-1$
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TYPEHIERARCHY_HISTORY_ACTION);
                setMenuCreator(this );
        }


Clone AbstractionParameter Count: 4Parameter Bindings

public static final int RESULTS_IN_DROP_DOWN = 10;

private [[#variable5a1f2b20]]  [[#variable5a1f2a80]];

private Menu fMenu;

public HistoryDropDownAction( [[#variable5a1f2b20]] view) {
   [[#variable5a1f2a80]]= view;
  fMenu = null;
  setToolTipText( [[#variable5a1f2a00]].HistoryDropDownAction_tooltip);
  JavaPluginImages.setLocalImageDescriptors(this, "history_list.gif"); //$NON-NLS-1$
  PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variable5a1f2a40]]);
  setMenuCreator(this );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a1f2b20]]
CallHierarchyViewPart 
12[[#5a1f2b20]]
TypeHierarchyViewPart 
21[[#5a1f2a80]]
fView 
22[[#5a1f2a80]]
fHierarchyView 
31[[#5a1f2a00]]
CallHierarchyMessages 
32[[#5a1f2a00]]
TypeHierarchyMessages 
41[[#5a1f2a40]]
CALL_HIERARCHY_HISTORY_DROP_DOWN_ACTION 
42[[#5a1f2a40]]
TYPEHIERARCHY_HISTORY_ACTION