CloneSet3239


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.985class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15432
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java
25248
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/ScrapbookLauncher.java
Clone Instance
1
Line Count
5
Source Line
432
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java

        /**
         * @see org.eclipse.debug.core.IDebugEventSetListener#handleDebugEvents(DebugEvent[])
         */
        public void handleDebugEvents(DebugEvent[] events) {
                for (int i = 0; i < events.length; i++) {
                        DebugEvent event = events[i];
                        if (event.getSource() instanceof IJavaDebugTarget && event.getKind() == DebugEvent.TERMINATE) {
                                deleteCacheForTarget((IJavaDebugTarget) event.getSource());
                        }
                }
        }


Clone Instance
2
Line Count
5
Source Line
248
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/ScrapbookLauncher.java

        /**
         * @see IDebugEventSetListener#handleDebugEvents(DebugEvent[])
         */
        public void handleDebugEvents(DebugEvent[] events) {
                for (int i = 0; i < events.length; i++) {
                        DebugEvent event = events[i];
                        if (event.getSource() instanceof IDebugTarget && event.getKind() == DebugEvent.TERMINATE) {
                                cleanup((IDebugTarget) event.getSource());
                        }
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * @see IDebugEventSetListener#handleDebugEvents(DebugEvent[])
         */
/**
         * @see org.eclipse.debug.core.IDebugEventSetListener#handleDebugEvents(DebugEvent[])
         */
public void handleDebugEvents(DebugEvent[] events) {
  for (int i = 0; i < events.length; i++) {
    DebugEvent event = events[i];
    if (event.getSource() instanceof [[#variable4e8eadc0]]&& event.getKind() == DebugEvent.TERMINATE) {
       [[#variable4e8ead60]](( [[#variable4e8eadc0]]) event.getSource());
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e8eadc0]]
IDebugTarget 
12[[#4e8eadc0]]
IJavaDebugTarget 
21[[#4e8ead60]]
cleanup 
22[[#4e8ead60]]
deleteCacheForTarget