| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 30 | 2 | 4 | 0.950 | compilation_unit |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 30 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/AccessWatchpointRequestImpl.java |
| 2 | 30 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/request/ModificationWatchpointRequestImpl.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.request;
import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.event.AccessWatchpointEventImpl;
import com.sun.jdi.request.AccessWatchpointRequest;
/**
* this class implements the corresponding interfaces
* declared by the JDI specification. See the com.sun.jdi package
* for more information.
*
*/
public class AccessWatchpointRequestImpl extends WatchpointRequestImpl implements AccessWatchpointRequest {
/**
* Creates new AccessWatchpointRequest.
*/
public AccessWatchpointRequestImpl(VirtualMachineImpl vmImpl) {
super("AccessWatchpointRequest", vmImpl); //$NON-NLS-1$
}
/**
* @return Returns JDWP EventKind.
*/
protected final byte eventKind() {
return AccessWatchpointEventImpl.EVENT_KIND;
}
}
|
| ||||
/*******************************************************************************
* 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.request;
import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.event.ModificationWatchpointEventImpl;
import com.sun.jdi.request.ModificationWatchpointRequest;
/**
* this class implements the corresponding interfaces
* declared by the JDI specification. See the com.sun.jdi package
* for more information.
*
*/
public class ModificationWatchpointRequestImpl extends WatchpointRequestImpl implements ModificationWatchpointRequest {
/**
* Creates new ModificationWatchpointRequest.
*/
public ModificationWatchpointRequestImpl(VirtualMachineImpl vmImpl) {
super("ModificationWatchpointRequest", vmImpl); //$NON-NLS-1$
}
/**
* @return Returns JDWP EventKind.
*/
protected final byte eventKind() {
return ModificationWatchpointEventImpl.EVENT_KIND;
}
}
|
| |||
/*******************************************************************************
* 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.request;
import org.eclipse.jdi.internal.VirtualMachineImpl;
import org.eclipse.jdi.internal.event. [[#variableb9523020]];
import com.sun.jdi.request. [[#variableb9522d20]];
/**
* this class implements the corresponding interfaces
* declared by the JDI specification. See the com.sun.jdi package
* for more information.
*
*/
public class [[#variableb9522f00]]extends WatchpointRequestImpl implements [[#variableb9522d20]]{
/**
* Creates new ModificationWatchpointRequest.
*/
/**
* Creates new AccessWatchpointRequest.
*/
public [[#variableb9522f00]](VirtualMachineImpl vmImpl) {
super( [[#variableb9522f20]], vmImpl); //$NON-NLS-1$
}
/**
* @return Returns JDWP EventKind.
*/
protected final byte eventKind() {
return [[#variableb9523020]].EVENT_KIND;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b9523020]] | ModificationWatchpointEventImpl |
| 1 | 2 | [[#b9523020]] | AccessWatchpointEventImpl |
| 2 | 1 | [[#b9522d20]] | ModificationWatchpointRequest |
| 2 | 2 | [[#b9522d20]] | AccessWatchpointRequest |
| 3 | 1 | [[#b9522f00]] | ModificationWatchpointRequestImpl |
| 3 | 2 | [[#b9522f00]] | AccessWatchpointRequestImpl |
| 4 | 1 | [[#b9522f20]] | "ModificationWatchpointRequest" |
| 4 | 2 | [[#b9522f20]] | "AccessWatchpointRequest" |