CloneSet2137


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.978statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1975
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaHotCodeReplaceListener.java
210104
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaHotCodeReplaceListener.java
Clone Instance
1
Line Count
9
Source Line
75
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaHotCodeReplaceListener.java

                display.asyncExec(new Runnable() {
                        public void run() {
                                if (display.isDisposed()) {
                                        return;
                                }
                                Shell shell = JDIDebugUIPlugin.getActiveWorkbenchShell();
                                HotCodeReplaceErrorDialog dialog = new HotCodeReplaceErrorDialog(shell, title, message, status, preference, alertMessage, JDIDebugUIPlugin.getDefault().getPreferenceStore(), target);
                                dialog.setBlockOnOpen(false);
                                dialog.open();
                        }
                                  } );


Clone Instance
2
Line Count
10
Source Line
104
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaHotCodeReplaceListener.java

                display.asyncExec(new Runnable() {
                        public void run() {
                                if (display.isDisposed()) {
                                        return;
                                }
                                Shell shell = JDIDebugUIPlugin.getActiveWorkbenchShell();
                                HotCodeReplaceErrorDialog dialog = new HotCodeReplaceErrorDialog(shell, dialogTitle, message, status, IJDIPreferencesConstants.PREF_ALERT_OBSOLETE_METHODS, 
                                         toggleMessage                                           , JDIDebugUIPlugin.getDefault().getPreferenceStore(), target);
                                dialog.setBlockOnOpen(false);
                                dialog.open();
                        }
                                  } );


Clone AbstractionParameter Count: 3Parameter Bindings

display.asyncExec(new Runnable() {
                    public void run() {
                      if (display.isDisposed()) {
                        return;
                      }
                      Shell shell = JDIDebugUIPlugin.getActiveWorkbenchShell();
                      HotCodeReplaceErrorDialog dialog = new HotCodeReplaceErrorDialog(shell,  [[#variableb1af3160]], message, status,  [[#variableb1af2e80]],  [[#variableb1af3200]], JDIDebugUIPlugin.getDefault().getPreferenceStore(), target);
                      dialog.setBlockOnOpen(false);
                      dialog.open();
                    }
                  } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1af3160]]
title 
12[[#b1af3160]]
dialogTitle 
21[[#b1af2e80]]
preference 
22[[#b1af2e80]]
IJDIPreferencesConstants.PREF_ALERT_OBSOLETE_METHODS 
31[[#b1af3200]]
alertMessage 
32[[#b1af3200]]
toggleMessage