CloneSet2175


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18170
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
214517
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPluginImages.java
Clone Instance
1
Line Count
8
Source Line
170
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java

        private static void setImageDescriptors(IAction action, String type, String relPath) {
                ImageDescriptor id = createImageDescriptor("d" + type, relPath, false); //$NON-NLS-1$
                if (id != null)
                        action.setDisabledImageDescriptor(id);

                ImageDescriptor descriptor = createImageDescriptor("e" + type, relPath, true); //$NON-NLS-1$
                action.setHoverImageDescriptor(descriptor);
                action.setImageDescriptor(descriptor);
        }


Clone Instance
2
Line Count
14
Source Line
517
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPluginImages.java

        //---- Helper methods to access icons on the file system --------------------------------------
        private static void setImageDescriptors(IAction action, String type, String relPath) {
                ImageDescriptor id = create("d" + type, relPath, false); //$NON-NLS-1$
                if (id != null)
                        action.setDisabledImageDescriptor(id);

                /*
                 * id= create("c" + type, relPath, false); //$NON-NLS-1$
                 * if (id != null)
                 *              action.setHoverImageDescriptor(id);
                 */

                ImageDescriptor descriptor = create("e" + type, relPath, true); //$NON-NLS-1$
                action.setHoverImageDescriptor(descriptor);
                action.setImageDescriptor(descriptor);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

//---- Helper methods to access icons on the file system --------------------------------------
private static void setImageDescriptors(IAction action, String type, String relPath) {
  ImageDescriptor id = [[#variable5880e300]]("d" + type, relPath, false); //$NON-NLS-1$
  if (id != null)
    action.setDisabledImageDescriptor(id);
  /*
                   * id= create("c" + type, relPath, false); //$NON-NLS-1$
                   * if (id != null)
                   *              action.setHoverImageDescriptor(id);
                   */
  ImageDescriptor descriptor = [[#variable5880e300]]("e" + type, relPath, true); //$NON-NLS-1$
  action.setHoverImageDescriptor(descriptor);
  action.setImageDescriptor(descriptor);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5880e300]]
create 
12[[#5880e300]]
createImageDescriptor