CloneSet1041


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14420.986class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11454
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/util/ExceptionHandler.java
21442
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExceptionHandler.java
31466
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExceptionHandler.java
41456
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ExceptionHandler.java
Clone Instance
1
Line Count
14
Source Line
54
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/util/ExceptionHandler.java

        /**
         * Handles the given <code>CoreException</code>. The workbench shell is used as a parent
         * for the dialog window.
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(CoreException e, String title, String message) {
                handle(e, AptUIPlugin.getActiveWorkbenchShell(), title, message);
        }

        /**
         * Handles the given <code>CoreException</code>. 
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param parent the dialog window's parent shell
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(CoreException e, Shell parent, String title, String message) {
                fgInstance.perform(e, parent, title, message);
        }


Clone Instance
2
Line Count
14
Source Line
42
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExceptionHandler.java

        /**
         * Handles the given <code>CoreException</code>. The workbench shell is used as a parent
         * for the dialog window.
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(CoreException e, String title, String message) {
                handle(e, JDIDebugUIPlugin.getActiveWorkbenchShell(), title, message);
        }

        /**
         * Handles the given <code>CoreException</code>. 
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param parent the dialog window's parent shell
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(CoreException e, Shell parent, String title, String message) {
                fgInstance.perform(e, parent, title, message);
        }


Clone Instance
3
Line Count
14
Source Line
66
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExceptionHandler.java

        /**
         * Handles the given <code>InvocationTargetException</code>. The workbench shell is used 
         * as a parent for the dialog window.
         * 
         * @param e the <code>InvocationTargetException</code> to be handled
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(InvocationTargetException e, String title, String message) {
                handle(e, JDIDebugUIPlugin.getActiveWorkbenchShell(), title, message);
        }

        /**
         * Handles the given <code>InvocationTargetException</code>. 
         * 
         * @param e the <code>InvocationTargetException</code> to be handled
         * @param parent the dialog window's parent shell
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(InvocationTargetException e, Shell parent, String title, String message) {
                fgInstance.perform(e, parent, title, message);
        }


Clone Instance
4
Line Count
14
Source Line
56
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ExceptionHandler.java

        /**
         * Handles the given <code>CoreException</code>. The workbench shell is used as a parent
         * for the dialog window.
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(CoreException e, String title, String message) {
                handle(e, JavaPlugin.getActiveWorkbenchShell(), title, message);
        }

        /**
         * Handles the given <code>CoreException</code>. 
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param parent the dialog window's parent shell
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
        public static void handle(CoreException e, Shell parent, String title, String message) {
                fgInstance.perform(e, parent, title, message);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Handles the given <code>CoreException</code>. The workbench shell is used as a parent
         * for the dialog window.
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
/**
         * Handles the given <code>InvocationTargetException</code>. The workbench shell is used 
         * as a parent for the dialog window.
         * 
         * @param e the <code>InvocationTargetException</code> to be handled
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
public static void handle( [[#variable59888120]] e, String title, String message) {
  handle(e,  [[#variableb69d5920]].getActiveWorkbenchShell(), title, message);
}

/**
         * Handles the given <code>CoreException</code>. 
         * 
         * @param e the <code>CoreException</code> to be handled
         * @param parent the dialog window's parent shell
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
/**
         * Handles the given <code>InvocationTargetException</code>. 
         * 
         * @param e the <code>InvocationTargetException</code> to be handled
         * @param parent the dialog window's parent shell
         * @param title the dialog window's window title
         * @param message message to be displayed by the dialog window
         */
public static void handle( [[#variable59888120]] e, Shell parent, String title, String message) {
  fgInstance.perform(e, parent, title, message);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59888120]]
CoreException 
12[[#59888120]]
CoreException 
13[[#59888120]]
InvocationTargetException 
14[[#59888120]]
CoreException 
21[[#b69d5920]]
JavaPlugin 
22[[#b69d5920]]
AptUIPlugin 
23[[#b69d5920]]
JDIDebugUIPlugin 
24[[#b69d5920]]
JDIDebugUIPlugin