| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 33 | 3 | 2 | 0.977 | compilation_unit |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 33 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpFieldID.java |
| 2 | 33 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpFrameID.java |
| 3 | 33 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpMethodID.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.jdwp;
import org.eclipse.jdi.internal.VirtualMachineImpl;
/**
* This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
* declared by the JDWP specification.
*
*/
public class JdwpFieldID extends JdwpID {
/**
* Creates new JdwpID.
*/
public JdwpFieldID(VirtualMachineImpl vmImpl) {
super(vmImpl);
}
/**
* @return Returns VM specific size of ID.
*/
public int getSize() {
return fVirtualMachine.fieldIDSize();
}
/**
* @return Returns true if ID is null.
*/
public boolean isNull() {
return false;
}
}
|
| ||||
/*******************************************************************************
* 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.jdwp;
import org.eclipse.jdi.internal.VirtualMachineImpl;
/**
* This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
* declared by the JDWP specification.
*
*/
public class JdwpFrameID extends JdwpID {
/**
* Creates new JdwpID.
*/
public JdwpFrameID(VirtualMachineImpl vmImpl) {
super(vmImpl);
}
/**
* @return Returns VM specific size of ID.
*/
public int getSize() {
return fVirtualMachine.frameIDSize();
}
/**
* @return Returns true if ID is null.
*/
public boolean isNull() {
return false;
}
}
|
| ||||
/*******************************************************************************
* 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.jdwp;
import org.eclipse.jdi.internal.VirtualMachineImpl;
/**
* This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
* declared by the JDWP specification.
*
*/
public class JdwpMethodID extends JdwpID {
/**
* Creates new JdwpID.
*/
public JdwpMethodID(VirtualMachineImpl vmImpl) {
super(vmImpl);
}
/**
* @return Returns VM specific size of ID.
*/
public int getSize() {
return fVirtualMachine.methodIDSize();
}
/**
* @return Returns true if ID is null.
*/
public boolean isNull() {
return false;
}
}
|
| |||
/*******************************************************************************
* 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.jdwp;
import org.eclipse.jdi.internal.VirtualMachineImpl;
/**
* This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
* declared by the JDWP specification.
*
*/
public class [[#variable5464b5a0]]extends JdwpID {
/**
* Creates new JdwpID.
*/
public [[#variable5464b5a0]](VirtualMachineImpl vmImpl) {
super(vmImpl);
}
/**
* @return Returns VM specific size of ID.
*/
public int getSize() {
return fVirtualMachine. [[#variable5464a760]]();
}
/**
* @return Returns true if ID is null.
*/
public boolean isNull() {
return false;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5464b5a0]] | JdwpFieldID |
| 1 | 2 | [[#5464b5a0]] | JdwpFrameID |
| 1 | 3 | [[#5464b5a0]] | JdwpMethodID |
| 2 | 1 | [[#5464a760]] | fieldIDSize |
| 2 | 2 | [[#5464a760]] | frameIDSize |
| 2 | 3 | [[#5464a760]] | methodIDSize |