Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.985 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 432 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java |
2 | 5 | 248 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/ScrapbookLauncher.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()); } } } |
| ||||
/** * @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()); } } } |
| |||
/** * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e8eadc0]] | IDebugTarget |
1 | 2 | [[#4e8eadc0]] | IJavaDebugTarget |
2 | 1 | [[#4e8ead60]] | cleanup |
2 | 2 | [[#4e8ead60]] | deleteCacheForTarget |