CloneSet4223


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.988class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11355
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/HistoryAction.java
21249
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryAction.java
Clone Instance
1
Line Count
13
Source Line
55
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/HistoryAction.java

    private ImageDescriptor getImageDescriptor(IJavaElement elem) {
        JavaElementImageProvider imageProvider = new JavaElementImageProvider();
        ImageDescriptor desc = imageProvider.getBaseImageDescriptor(elem, 0);
        imageProvider.dispose();

        return desc;
    }

    /*
     * @see Action#run()
     */
    public void run() {
        fView.gotoHistoryEntry(fMethod);
    }


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

        private ImageDescriptor getImageDescriptor(IJavaElement elem) {
                JavaElementImageProvider imageProvider = new JavaElementImageProvider();
                ImageDescriptor desc = imageProvider.getBaseImageDescriptor(elem, 0);
                imageProvider.dispose();
                return desc;
        }

        /*
         * @see Action#run()
         */
        public void run() {
                fViewPart.gotoHistoryEntry(fElement);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private ImageDescriptor getImageDescriptor(IJavaElement elem) {
  JavaElementImageProvider imageProvider = new JavaElementImageProvider();
  ImageDescriptor desc = imageProvider.getBaseImageDescriptor(elem, 0);
  imageProvider.dispose();
  return desc;
}

/*
     * @see Action#run()
     */
/*
         * @see Action#run()
         */
public void run() {
   [[#variable9af27540]].gotoHistoryEntry( [[#variable53643720]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9af27540]]
fView 
12[[#9af27540]]
fViewPart 
21[[#53643720]]
fMethod 
22[[#53643720]]
fElement