| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 14 | 3 | 3 | 0.959 | statement_sequence[5] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 14 | 52 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointFieldChange.java |
| 2 | 14 | 55 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointTypeChange.java |
| 3 | 14 | 65 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointTypeRenameChange.java |
| ||||
int[] range = getNewLineNumberAndRange(fDestField);
IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(
resource,
fDestField.getDeclaringType().getFullyQualifiedName(),
fDestField.getElementName(),
range[0],
range[1],
range[2],
getHitCount(),
true,
map );
apply(breakpoint);
getOriginalBreakpoint().delete();
return new DeleteBreakpointChange(breakpoint);
|
| ||||
int[] range = getNewLineNumberAndRange(destField);
IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(
resource,
fDestType.getFullyQualifiedName(),
getFieldName(),
range[0],
range[1],
range[2],
getHitCount(),
true,
map );
apply(breakpoint);
getOriginalBreakpoint().delete();
return new DeleteBreakpointChange(breakpoint);
|
| ||||
int[] range = getNewLineNumberAndRange(destinationField);
IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(
resource,
getDestinationType().getFullyQualifiedName(),
destinationField.getElementName(),
range[0],
range[1],
range[2],
getHitCount(),
true,
map );
apply(breakpoint);
getOriginalBreakpoint().delete();
return new DeleteBreakpointChange(breakpoint);
|
| |||
int[] range = getNewLineNumberAndRange( [[#variable7c38c080]]); IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(resource, [[#variable7c38c0e0]].getFullyQualifiedName(), [[#variable54577700]], range[0], range[1], range[2], getHitCount(), true, map); apply(breakpoint); getOriginalBreakpoint().delete(); return new DeleteBreakpointChange(breakpoint); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#7c38c080]] | destinationField |
| 1 | 2 | [[#7c38c080]] | destField |
| 1 | 3 | [[#7c38c080]] | fDestField |
| 2 | 1 | [[#7c38c0e0]] | getDestinationType() |
| 2 | 2 | [[#7c38c0e0]] | fDestType |
| 2 | 3 | [[#7c38c0e0]] | fDestField.getDeclaringType() |
| 3 | 1 | [[#54577700]] | destinationField.getElementName() |
| 3 | 2 | [[#54577700]] | getFieldName() |
| 3 | 3 | [[#54577700]] | fDestField.getElementName() |