CloneSet4674


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12250.960class_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/callhierarchy/HistoryDropDownAction.java
21231
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryDropDownAction.java
Clone Instance
1
Line Count
12
Source Line
33
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/HistoryDropDownAction.java

        private static class ClearHistoryAction extends Action {

                private CallHierarchyViewPart fView;

                public ClearHistoryAction(CallHierarchyViewPart view) {
                        super(CallHierarchyMessages.HistoryDropDownAction_clearhistory_label);
                        fView = view;
                }

                public void run() {
                        fView.setHistoryEntries(new IMethod[0]);
                        fView.setMethod(null);
                }
        }


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

        public static class ClearHistoryAction extends Action {

                private TypeHierarchyViewPart fView;

                public ClearHistoryAction(TypeHierarchyViewPart view) {
                        super(TypeHierarchyMessages.HistoryDropDownAction_clearhistory_label);
                        fView = view;
                }

                public void run() {
                        fView.setHistoryEntries(new IJavaElement[0]);
                        fView.setInputElement(null);
                }
        }


Clone AbstractionParameter Count: 5Parameter Bindings

 [[#variablea3d09fe0]]static class ClearHistoryAction extends Action {
  private [[#variablea3d09f40]] fView;

  public ClearHistoryAction( [[#variablea3d09f40]] view) {
    super( [[#variablea3d09ec0]].HistoryDropDownAction_clearhistory_label);
    fView = view;
  }

  public void run() {
    fView.setHistoryEntries(new [[#variablea3d09e60]][0]);
    fView. [[#variablea3d09de0]](null);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3d09fe0]]
private 
12[[#a3d09fe0]]
public 
21[[#a3d09f40]]
CallHierarchyViewPart 
22[[#a3d09f40]]
TypeHierarchyViewPart 
31[[#a3d09ec0]]
CallHierarchyMessages 
32[[#a3d09ec0]]
TypeHierarchyMessages 
41[[#a3d09e60]]
IMethod 
42[[#a3d09e60]]
IJavaElement 
51[[#a3d09de0]]
setMethod 
52[[#a3d09de0]]
setInputElement