CloneSet3431


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9250.953class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19517
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java
29532
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java
Clone Instance
1
Line Count
9
Source Line
517
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java

        /**
         * @see IJavaMethodBreakpoint#setEntry(boolean)
         */
        public void setEntry(boolean entry) throws CoreException {
                if (isEntry() != entry) {
                        setAttribute(ENTRY, entry);
                        if (entry && !isEnabled()) {
                                setEnabled(true);
                        }
                        else   if ( !(entry || isExit())) {
                                setEnabled(false);
                               }
                        recreate();
                }
        }


Clone Instance
2
Line Count
9
Source Line
532
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java

        /**
         * @see IJavaMethodBreakpoint#setExit(boolean)
         */
        public void setExit(boolean exit) throws CoreException {
                if (isExit() != exit) {
                        setAttribute(EXIT, exit);
                        if (exit && !isEnabled()) {
                                setEnabled(true);
                        }
                        else   if ( !(exit || isEntry())) {
                                setEnabled(false);
                               }
                        recreate();
                }
        }


Clone AbstractionParameter Count: 5Parameter Bindings

/**
         * @see IJavaMethodBreakpoint#setEntry(boolean)
         */
/**
         * @see IJavaMethodBreakpoint#setExit(boolean)
         */
public void [[#variableb4fbf100]](boolean  [[#variableb4fbf080]]) throws CoreException {
  if ( [[#variableb4fbf020]]() != [[#variableb4fbf080]]) {
    setAttribute( [[#variableb4fbefc0]],  [[#variableb4fbf080]]);
    if ( [[#variableb4fbf080]]&& !isEnabled()) {
      setEnabled(true);
    }
    else
      if ( !( [[#variableb4fbf080]]|| [[#variableb4fbeea0]]())) {
        setEnabled(false);
      }
    recreate();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4fbf100]]
setEntry 
12[[#b4fbf100]]
setExit 
21[[#b4fbf080]]
entry 
22[[#b4fbf080]]
exit 
31[[#b4fbf020]]
isEntry 
32[[#b4fbf020]]
isExit 
41[[#b4fbefc0]]
ENTRY 
42[[#b4fbefc0]]
EXIT 
51[[#b4fbeea0]]
isExit 
52[[#b4fbeea0]]
isEntry