| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 3 | 0.957 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 179 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java |
| 2 | 2 | 186 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaWatchpoint.java |
| ||||
/**
* Create an access watchpoint for the given breakpoint and associated field
*/
protected AccessWatchpointRequest createAccessWatchpoint(JDIDebugTarget target, Field field) throws CoreException {
return (AccessWatchpointRequest) createWatchpoint(target, field, true);
}
|
| ||||
/**
* Create a modification watchpoint for the given breakpoint and associated field
*/
protected ModificationWatchpointRequest createModificationWatchpoint(JDIDebugTarget target, Field field) throws CoreException {
return (ModificationWatchpointRequest) createWatchpoint(target, field, false);
}
|
| |||
/**
* Create an access watchpoint for the given breakpoint and associated field
*/
/**
* Create a modification watchpoint for the given breakpoint and associated field
*/
protected [[#variable5aa78420]] [[#variable5aa783c0]](JDIDebugTarget target, Field field) throws CoreException {
return ( [[#variable5aa78420]]) createWatchpoint(target, field, [[#variable5aa78320]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5aa78420]] | AccessWatchpointRequest |
| 1 | 2 | [[#5aa78420]] | ModificationWatchpointRequest |
| 2 | 1 | [[#5aa783c0]] | createAccessWatchpoint |
| 2 | 2 | [[#5aa783c0]] | createModificationWatchpoint |
| 3 | 1 | [[#5aa78320]] | true |
| 3 | 2 | [[#5aa78320]] | false |