Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
33 | 2 | 2 | 0.978 | 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/JdwpObjectID.java |
2 | 33 | 11 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/jdwp/JdwpReferenceTypeID.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 JdwpObjectID extends JdwpID { /** * Creates new JdwpID. */ public JdwpObjectID(VirtualMachineImpl vmImpl) { super(vmImpl); } /** * @return Returns VM specific size of ID. */ public int getSize() { return fVirtualMachine.objectIDSize(); } /** * @return Returns true if ID is null. */ public boolean isNull() { return fValue == VALUE_NULL; } } |
| ||||
/******************************************************************************* * 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 JdwpReferenceTypeID extends JdwpID { /** * Creates new JdwpID. */ public JdwpReferenceTypeID(VirtualMachineImpl vmImpl) { super(vmImpl); } /** * @return Returns VM specific size of ID. */ public int getSize() { return fVirtualMachine.referenceTypeIDSize(); } /** * @return Returns true if ID is null. */ public boolean isNull() { return fValue == VALUE_NULL; } } |
| |||
/******************************************************************************* * 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 [[#variableb597e200]]extends JdwpID { /** * Creates new JdwpID. */ public [[#variableb597e200]](VirtualMachineImpl vmImpl) { super(vmImpl); } /** * @return Returns VM specific size of ID. */ public int getSize() { return fVirtualMachine. [[#variableb597e020]](); } /** * @return Returns true if ID is null. */ public boolean isNull() { return fValue == VALUE_NULL; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b597e200]] | JdwpObjectID |
1 | 2 | [[#b597e200]] | JdwpReferenceTypeID |
2 | 1 | [[#b597e020]] | objectIDSize |
2 | 2 | [[#b597e020]] | referenceTypeIDSize |