blob: 62a09ccc7cd2154c7e54dcc2d6142f359ee1f1bd [file] [log] [blame]
package org.eclipse.jdi.internal.jdwp;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
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;
}
}