Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.973 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 587 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaMethodBreakpoint.java |
2 | 7 | 259 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.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); } |
| ||||
/** * @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); } |
| |||
/** * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#615de6a0]] | isAccess |
1 | 2 | [[#615de6a0]] | isEntry |
2 | 1 | [[#615de620]] | isModification |
2 | 2 | [[#615de620]] | isExit |
3 | 1 | [[#615de520]] | setDefaultAccessAndModification |
3 | 2 | [[#615de520]] | setDefaultEntryAndExit |