Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.996 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 68 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddClassPrepareBreakpointAction.java |
2 | 9 | 107 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionAction.java |
| ||||
IBreakpoint[] breakpoints = DebugPlugin.getDefault().getBreakpointManager().getBreakpoints(JDIDebugModel.getPluginIdentifier()); boolean exists = false; for (int j = 0; j < breakpoints.length; j++) { IJavaBreakpoint breakpoint = (IJavaBreakpoint) breakpoints[j]; if (breakpoint instanceof IJavaClassPrepareBreakpoint) { if (breakpoint.getTypeName().equals(type.getFullyQualifiedName())) { exists = true; break; } } } |
| ||||
IBreakpoint[] breakpoints = DebugPlugin.getDefault().getBreakpointManager().getBreakpoints( JDIDebugModel.getPluginIdentifier() ); boolean exists = false; for (int j = 0; j < breakpoints.length; j++) { IJavaBreakpoint breakpoint = (IJavaBreakpoint) breakpoints[j]; if (breakpoint instanceof IJavaExceptionBreakpoint) { if (breakpoint.getTypeName().equals(type.getFullyQualifiedName())) { exists = true; break; } } } |
| |||
IBreakpoint[] breakpoints = DebugPlugin.getDefault().getBreakpointManager().getBreakpoints(JDIDebugModel.getPluginIdentifier()); boolean exists = false; for (int j = 0; j < breakpoints.length; j++) { IJavaBreakpoint breakpoint = (IJavaBreakpoint) breakpoints[j]; if (breakpoint instanceof [[#variable52b67580]]) { if (breakpoint.getTypeName().equals(type.getFullyQualifiedName())) { exists = true; break; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52b67580]] | IJavaClassPrepareBreakpoint |
1 | 2 | [[#52b67580]] | IJavaExceptionBreakpoint |