CloneSet9408


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.987class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1429
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionCaughtToggleAction.java
2429
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionUncaughtToggleAction.java
Clone Instance
1
Line Count
4
Source Line
29
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionCaughtToggleAction.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();
        }


Clone Instance
2
Line Count
4
Source Line
29
Source File
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.isUncaught();
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b73e4ae0]]
isUncaught 
12[[#b73e4ae0]]
isCaught