| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 4 | 5 | 0.972 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 36 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/AccessWatchpointEventImpl.java |
| 2 | 12 | 37 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/MethodEntryEventImpl.java |
| 3 | 12 | 37 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/MethodExitEventImpl.java |
| 4 | 12 | 36 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/StepEventImpl.java |
| ||||
/**
* Creates new AccessWatchpointEventImpl.
*/
protected AccessWatchpointEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
super("AccessWatchpointEvent", vmImpl, requestID); //$NON-NLS-1$
}
/**
* @return Creates, reads and returns new EventImpl, of which requestID has already been read.
*/
public static WatchpointEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
AccessWatchpointEventImpl event = new AccessWatchpointEventImpl(vmImpl, requestID);
event.readWatchpointEventFields(target, dataInStream);
return event;
}
|
| ||||
/**
* Creates new MethodEntryEventImpl.
*/
private MethodEntryEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
super("MethodEntryEvent", vmImpl, requestID); //$NON-NLS-1$
}
/**
* @return Creates, reads and returns new EventImpl, of which requestID has already been read.
*/
public static MethodEntryEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
MethodEntryEventImpl event = new MethodEntryEventImpl(vmImpl, requestID);
event.readThreadAndLocation(target, dataInStream);
return event;
}
|
| ||||
/**
* Creates new MethodExitEventImpl.
*/
private MethodExitEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
super("MethodExitEvent", vmImpl, requestID); //$NON-NLS-1$
}
/**
* @return Creates, reads and returns new EventImpl, of which requestID has already been read.
*/
public static MethodExitEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
MethodExitEventImpl event = new MethodExitEventImpl(vmImpl, requestID);
event.readThreadAndLocation(target, dataInStream);
return event;
}
|
| ||||
/**
* Creates new StepEventImpl.
*/
private StepEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
super("StepEvent", vmImpl, requestID); //$NON-NLS-1$
}
/**
* @return Creates, reads and returns new EventImpl, of which requestID has already been read.
*/
public static StepEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
StepEventImpl event = new StepEventImpl(vmImpl, requestID);
event.readThreadAndLocation(target, dataInStream);
return event;
}
|
| |||
[[#variableb19bdaa0]] [[#variableb19bd9c0]](VirtualMachineImpl vmImpl, RequestID requestID) {
super( [[#variableb19bd9a0]], vmImpl, requestID); //$NON-NLS-1$
}
/**
* @return Creates, reads and returns new EventImpl, of which requestID has already been read.
*/
public static [[#variableb19bd940]] read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
[[#variableb19bd9c0]] event = new [[#variableb19bd9c0]](vmImpl, requestID);
event. [[#variableb19bd700]](target, dataInStream);
return event;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b19bdaa0]] | /** * Creates new AccessWatchpointEventImpl. */ protected |
| 1 | 2 | [[#b19bdaa0]] | /** * Creates new MethodEntryEventImpl. */ private |
| 1 | 3 | [[#b19bdaa0]] | /** * Creates new MethodExitEventImpl. */ private |
| 1 | 4 | [[#b19bdaa0]] | /** * Creates new StepEventImpl. */ private |
| 2 | 1 | [[#b19bd9c0]] | AccessWatchpointEventImpl |
| 2 | 2 | [[#b19bd9c0]] | MethodEntryEventImpl |
| 2 | 3 | [[#b19bd9c0]] | MethodExitEventImpl |
| 2 | 4 | [[#b19bd9c0]] | StepEventImpl |
| 3 | 1 | [[#b19bd9a0]] | "AccessWatchpointEvent" |
| 3 | 2 | [[#b19bd9a0]] | "MethodEntryEvent" |
| 3 | 3 | [[#b19bd9a0]] | "MethodExitEvent" |
| 3 | 4 | [[#b19bd9a0]] | "StepEvent" |
| 4 | 1 | [[#b19bd940]] | WatchpointEventImpl |
| 4 | 2 | [[#b19bd940]] | MethodEntryEventImpl |
| 4 | 3 | [[#b19bd940]] | MethodExitEventImpl |
| 4 | 4 | [[#b19bd940]] | StepEventImpl |
| 5 | 1 | [[#b19bd700]] | readWatchpointEventFields |
| 5 | 2 | [[#b19bd700]] | readThreadAndLocation |
| 5 | 3 | [[#b19bd700]] | readThreadAndLocation |
| 5 | 4 | [[#b19bd700]] | readThreadAndLocation |