CloneSet6491


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

        /**
         * If this breakpoint is not entry or exit enabled,
         * set the default (entry)
         * 
         * @see org.eclipse.debug.core.model.IBreakpoint#setEnabled(boolean)
         */
        public void setEnabled(boolean enabled) throws CoreException {
                if (enabled) {
                        if ( !(isEntry() || isExit())) {
                                setDefaultEntryAndExit();
                        }
                }
                super.setEnabled(enabled);
        }


Clone Instance
2
Line Count
7
Source Line
259
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java

        /**
         * @see IBreakpoint#setEnabled(boolean)
         * 
         * If the watchpoint is not watching access or modification,
         * set the default values. If this isn't done, the resulting
         * state (enabled with access and modification both disabled)
         * is ambiguous.
         */
        public void setEnabled(boolean enabled) throws CoreException {
                if (enabled) {
                        if ( !(isAccess() || isModification())) {
                                setDefaultAccessAndModification();
                        }
                }
                super.setEnabled(enabled);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * @see IBreakpoint#setEnabled(boolean)
         * 
         * If the watchpoint is not watching access or modification,
         * set the default values. If this isn't done, the resulting
         * state (enabled with access and modification both disabled)
         * is ambiguous.
         */
/**
         * If this breakpoint is not entry or exit enabled,
         * set the default (entry)
         * 
         * @see org.eclipse.debug.core.model.IBreakpoint#setEnabled(boolean)
         */
public void setEnabled(boolean enabled) throws CoreException {
  if (enabled) {
    if ( !( [[#variable615de6a0]]() || [[#variable615de620]]())) {
       [[#variable615de520]]();
    }
  }
  super.setEnabled(enabled);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#615de6a0]]
isAccess 
12[[#615de6a0]]
isEntry 
21[[#615de620]]
isModification 
22[[#615de620]]
isExit 
31[[#615de520]]
setDefaultAccessAndModification 
32[[#615de520]]
setDefaultEntryAndExit