Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.987 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 29 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionCaughtToggleAction.java |
2 | 4 | 29 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionUncaughtToggleAction.java |
| ||||
/** * @see BreakpointToggleAction#getToggleState(IJavaBreakpoint) */ protected boolean getToggleState(IJavaBreakpoint breakpoint) throws CoreException { //will only be called after isEnabledFor so cast is safe IJavaExceptionBreakpoint exception = (IJavaExceptionBreakpoint) breakpoint; return exception.isCaught(); } |
| ||||
/** * @see BreakpointToggleAction#getToggleState(IJavaBreakpoint) */ protected boolean getToggleState(IJavaBreakpoint breakpoint) throws CoreException { //will only be called after isEnabledFor so cast is safe IJavaExceptionBreakpoint exception = (IJavaExceptionBreakpoint) breakpoint; return exception.isUncaught(); } |
| |||
/** * @see BreakpointToggleAction#getToggleState(IJavaBreakpoint) */ protected boolean getToggleState(IJavaBreakpoint breakpoint) throws CoreException { //will only be called after isEnabledFor so cast is safe IJavaExceptionBreakpoint exception = (IJavaExceptionBreakpoint) breakpoint; return exception. [[#variableb73e4ae0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b73e4ae0]] | isUncaught |
1 | 2 | [[#b73e4ae0]] | isCaught |