CloneSet1044


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10510.994class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11050
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/BreakpointSuspendPolicyToggleAction.java
21040
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/EntryToggleAction.java
31047
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionCaughtToggleAction.java
41047
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionUncaughtToggleAction.java
51040
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExitToggleAction.java
Clone Instance
1
Line Count
10
Source Line
50
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/BreakpointSuspendPolicyToggleAction.java

        /**
         * @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
         */
        public boolean isEnabledFor(IStructuredSelection selection) {
                Iterator iter = selection.iterator();
                while (iter.hasNext()) {
                        Object element = iter.next();
                        if ( !(element instanceof IJavaBreakpoint)) {
                                return false;
                        }
                }

                return true;
        }


Clone Instance
2
Line Count
10
Source Line
40
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/EntryToggleAction.java

        /**
         * @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
         */
        public boolean isEnabledFor(IStructuredSelection selection) {
                Iterator iter = selection.iterator();
                while (iter.hasNext()) {
                        Object element = iter.next();
                        if ( !(element instanceof IJavaMethodBreakpoint)) {
                                return false;
                        }
                }

                return true;
        }


Clone Instance
3
Line Count
10
Source Line
47
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionCaughtToggleAction.java

        /**
         * @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
         */
        public boolean isEnabledFor(IStructuredSelection selection) {
                Iterator iter = selection.iterator();
                while (iter.hasNext()) {
                        Object element = iter.next();
                        if ( !(element instanceof IJavaExceptionBreakpoint)) {
                                return false;
                        }
                }

                return true;
        }


Clone Instance
4
Line Count
10
Source Line
47
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExceptionUncaughtToggleAction.java

        /**
         * @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
         */
        public boolean isEnabledFor(IStructuredSelection selection) {
                Iterator iter = selection.iterator();
                while (iter.hasNext()) {
                        Object element = iter.next();
                        if ( !(element instanceof IJavaExceptionBreakpoint)) {
                                return false;
                        }
                }

                return true;
        }


Clone Instance
5
Line Count
10
Source Line
40
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ExitToggleAction.java

        /**
         * @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
         */
        public boolean isEnabledFor(IStructuredSelection selection) {
                Iterator iter = selection.iterator();
                while (iter.hasNext()) {
                        Object element = iter.next();
                        if ( !(element instanceof IJavaMethodBreakpoint)) {
                                return false;
                        }
                }

                return true;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * @see BreakpointToggleAction#isEnabledFor(IStructuredSelection)
         */
public boolean isEnabledFor(IStructuredSelection selection) {
  Iterator iter = selection.iterator();
  while (iter.hasNext()) {
    Object element = iter.next();
    if ( !(element instanceof [[#variableb85f0360]])) {
      return false;
    }
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b85f0360]]
IJavaMethodBreakpoint 
12[[#b85f0360]]
IJavaExceptionBreakpoint 
13[[#b85f0360]]
IJavaBreakpoint 
14[[#b85f0360]]
IJavaMethodBreakpoint 
15[[#b85f0360]]
IJavaExceptionBreakpoint