Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.975 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 38 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionCaughtToggleAction.java |
2 | 4 | 38 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionUncaughtToggleAction.java |
| ||||
/** * @see BreakpointToggleAction#doAction(IJavaBreakpoint) */ public void doAction(IJavaBreakpoint breakpoint) throws CoreException { //will only be called after isEnabledFor so cast is safe IJavaExceptionBreakpoint exception = (IJavaExceptionBreakpoint) breakpoint; exception.setCaught( !exception.isCaught()); } |
| ||||
/** * @see BreakpointToggleAction#doAction(IJavaBreakpoint) */ public void doAction(IJavaBreakpoint breakpoint) throws CoreException { //will only be called after isEnabledFor so cast is safe IJavaExceptionBreakpoint exception = (IJavaExceptionBreakpoint) breakpoint; exception.setUncaught( !exception.isUncaught()); } |
| |||
/** * @see BreakpointToggleAction#doAction(IJavaBreakpoint) */ public void doAction(IJavaBreakpoint breakpoint) throws CoreException { //will only be called after isEnabledFor so cast is safe IJavaExceptionBreakpoint exception = (IJavaExceptionBreakpoint) breakpoint; exception. [[#variable9e4c7a20]]( !exception. [[#variable9e4c7980]]()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e4c7a20]] | setUncaught |
1 | 2 | [[#9e4c7a20]] | setCaught |
2 | 1 | [[#9e4c7980]] | isUncaught |
2 | 2 | [[#9e4c7980]] | isCaught |