Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
38 | 2 | 4 | 0.972 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 38 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/VMDeathEventImpl.java |
2 | 38 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/VMDisconnectEventImpl.java |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdi.internal.event; import java.io.DataInputStream; import org.eclipse.jdi.internal.MirrorImpl; import org.eclipse.jdi.internal.VirtualMachineImpl; import org.eclipse.jdi.internal.request.RequestID; import com.sun.jdi.event.VMDeathEvent; /** * this class implements the corresponding interfaces * declared by the JDI specification. See the com.sun.jdi package * for more information. * */ public class VMDeathEventImpl extends EventImpl implements VMDeathEvent { /** Jdwp Event Kind. */ public static final byte EVENT_KIND = EVENT_VM_DEATH; /** * Creates new VMDeathEventImpl. */ public VMDeathEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) { super("VMDeathEvent", vmImpl, requestID); //$NON-NLS-1$ } /** * @return Creates, reads and returns new EventImpl, of which requestID has already been read. */ public static VMDeathEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) { VirtualMachineImpl vmImpl = target.virtualMachineImpl(); VMDeathEventImpl event = new VMDeathEventImpl(vmImpl, requestID); return event; } } |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdi.internal.event; import java.io.DataInputStream; import org.eclipse.jdi.internal.MirrorImpl; import org.eclipse.jdi.internal.VirtualMachineImpl; import org.eclipse.jdi.internal.request.RequestID; import com.sun.jdi.event.VMDisconnectEvent; /** * this class implements the corresponding interfaces * declared by the JDI specification. See the com.sun.jdi package * for more information. * */ public class VMDisconnectEventImpl extends EventImpl implements VMDisconnectEvent { /** Jdwp Event Kind. */ public static final byte EVENT_KIND = EVENT_VM_DISCONNECTED; /** * Creates new VMDisconnectEventImpl. */ public VMDisconnectEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) { super("VMDisconnectEvent", vmImpl, requestID); //$NON-NLS-1$ } /** * @return Creates, reads and returns new EventImpl, of which requestID has already been read. */ public static VMDisconnectEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) { VirtualMachineImpl vmImpl = target.virtualMachineImpl(); VMDisconnectEventImpl event = new VMDisconnectEventImpl(vmImpl, requestID); return event; } } |
| |||
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdi.internal.event; import java.io.DataInputStream; import org.eclipse.jdi.internal.MirrorImpl; import org.eclipse.jdi.internal.VirtualMachineImpl; import org.eclipse.jdi.internal.request.RequestID; import com.sun.jdi.event. [[#variablea31530e0]]; /** * this class implements the corresponding interfaces * declared by the JDI specification. See the com.sun.jdi package * for more information. * */ public class [[#variablea3153040]]extends EventImpl implements [[#variablea31530e0]]{ /** Jdwp Event Kind. */ public static final byte EVENT_KIND = [[#variablea3152fe0]]; /** * Creates new VMDeathEventImpl. */ /** * Creates new VMDisconnectEventImpl. */ public [[#variablea3153040]](VirtualMachineImpl vmImpl, RequestID requestID) { super( [[#variablea3152f60]], vmImpl, requestID); //$NON-NLS-1$ } /** * @return Creates, reads and returns new EventImpl, of which requestID has already been read. */ public static [[#variablea3153040]] read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) { VirtualMachineImpl vmImpl = target.virtualMachineImpl(); [[#variablea3153040]] event = new [[#variablea3153040]](vmImpl, requestID); return event; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a31530e0]] | VMDeathEvent |
1 | 2 | [[#a31530e0]] | VMDisconnectEvent |
2 | 1 | [[#a3153040]] | VMDeathEventImpl |
2 | 2 | [[#a3153040]] | VMDisconnectEventImpl |
3 | 1 | [[#a3152fe0]] | EVENT_VM_DEATH |
3 | 2 | [[#a3152fe0]] | EVENT_VM_DISCONNECTED |
4 | 1 | [[#a3152f60]] | "VMDeathEvent" |
4 | 2 | [[#a3152f60]] | "VMDisconnectEvent" |