CloneSet3067


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16797
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugOptionsManager.java
26418
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java
Clone Instance
1
Line Count
6
Source Line
797
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugOptionsManager.java

        // If a Java stack frame is selected in the Debug view, fire a change event on
        // it so the variables view will update for any structure changes.
        IAdaptable selected = DebugUITools.getDebugContext();
        if (selected != null) {
            IJavaStackFrame frame = (IJavaStackFrame) selected.getAdapter(IJavaStackFrame.class );
            if (frame != null) {
                DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {
                        new DebugEvent(frame, DebugEvent.CHANGE)
                                                                            } );
            }
        }


Clone Instance
2
Line Count
6
Source Line
418
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java

                        // If a Java stack frame is selected in the Debug view, fire a change event on
                        // it so the variables view will update for any formatter changes.
            IAdaptable selected = DebugUITools.getDebugContext();
            if (selected != null) {
                IJavaStackFrame frame = (IJavaStackFrame) selected.getAdapter(IJavaStackFrame.class );
                if (frame != null) {
                    DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {
                            new DebugEvent(frame, DebugEvent.CHANGE)
                                                                                } );
                }
            }


Clone AbstractionParameter Count: 0Parameter Bindings

// If a Java stack frame is selected in the Debug view, fire a change event on
// it so the variables view will update for any formatter changes.
// it so the variables view will update for any structure changes.
IAdaptable selected = DebugUITools.getDebugContext();
if (selected != null) {
  IJavaStackFrame frame = (IJavaStackFrame) selected.getAdapter(IJavaStackFrame.class );
  if (frame != null) {
    DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {
                                                                  new DebugEvent(frame, DebugEvent.CHANGE)
                                                                } );
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None