| java.lang.Object org.eclipse.jdi.internal.MirrorImpl org.eclipse.jdi.internal.ValueImpl
All known Subclasses: org.eclipse.jdi.internal.ObjectReferenceImpl, org.eclipse.jdi.internal.PrimitiveValueImpl, org.eclipse.jdi.internal.VoidValueImpl,
ValueImpl | abstract public class ValueImpl extends MirrorImpl implements Value(Code) | | this class implements the corresponding interfaces
declared by the JDI specification. See the com.sun.jdi package
for more information.
|
Method Summary | |
protected static ValueImpl | checkPrimitiveValue(PrimitiveValueImpl value, PrimitiveTypeImpl valueType, PrimitiveTypeImpl type) Check the type of the given value, and convert the value to the given
type if needed (see Java Language Spec, section 5.2). | public static ValueImpl | checkValue(Value value, Type type, VirtualMachineImpl vm) Check the type and the vm of the given value. | protected static List | checkValues(List values, List types, VirtualMachineImpl vm) Check the type and the vm of each values, according to the associated type. | abstract public byte | getTag() | public static ValueImpl | readWithTag(MirrorImpl target, DataInputStream in) | public static ValueImpl | readWithoutTag(MirrorImpl target, int type, DataInputStream in) | abstract public Type | type() | abstract public void | write(MirrorImpl target, DataOutputStream out) Writes value without value tag. | public static void | writeNull(MirrorImpl target, DataOutputStream out) Writes null value without value tag. | public static void | writeNullWithTag(MirrorImpl target, DataOutputStream out) Writes null value with value tag. | public void | writeWithTag(MirrorImpl target, DataOutputStream out) Writes value with value tag. |
checkValue | public static ValueImpl checkValue(Value value, Type type, VirtualMachineImpl vm) throws InvalidTypeException(Code) | | Check the type and the vm of the given value.
In case of primitive value, the value is converted if needed.
the (converted) value. throws: InvalidTypeException - if the given value is no assignmentcompatible with the given type. See Also: checkPrimitiveValue(PrimitiveValueImpl, PrimitiveTypeImpl, PrimitiveTypeImpl) |
checkValues | protected static List checkValues(List values, List types, VirtualMachineImpl vm) throws InvalidTypeException(Code) | | Check the type and the vm of each values, according to the associated type.
For primitive values, convert the value for match the given type if needed.
The two list must have the same size.
the (converted) values. See Also: checkValue(Value, Type, VirtualMachineImpl) |
getTag | abstract public byte getTag()(Code) | | |
Methods inherited from org.eclipse.jdi.internal.MirrorImpl | public void checkVM(Mirror mirror) throws VMMismatchException(Code)(Java Doc) public void defaultIOExceptionHandler(Exception e)(Code)(Java Doc) public void defaultReplyErrorHandler(int error)(Code)(Java Doc) public void disconnectVM()(Code)(Java Doc) final public JdwpCommandPacket getCommandVM(int command, long timeout) throws InterruptedException(Code)(Java Doc) public void handledJdwpEventSet()(Code)(Java Doc) public void handledJdwpRequest()(Code)(Java Doc) public void initJdwpEventSet(JdwpCommandPacket commandPacket)(Code)(Java Doc) public void initJdwpRequest()(Code)(Java Doc) public boolean readBoolean(String description, DataInputStream in) throws IOException(Code)(Java Doc) public byte readByte(String description, DataInputStream in) throws IOException(Code)(Java Doc) public byte readByte(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc) public byte readByte(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc) public byte[] readByteArray(int length, String description, DataInputStream in) throws IOException(Code)(Java Doc) public char readChar(String description, DataInputStream in) throws IOException(Code)(Java Doc) public double readDouble(String description, DataInputStream in) throws IOException(Code)(Java Doc) public float readFloat(String description, DataInputStream in) throws IOException(Code)(Java Doc) public int readInt(String description, DataInputStream in) throws IOException(Code)(Java Doc) public int readInt(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc) public int readInt(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc) public long readLong(String description, DataInputStream in) throws IOException(Code)(Java Doc) public short readShort(String description, DataInputStream in) throws IOException(Code)(Java Doc) public short readShort(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc) public short readShort(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc) public String readString(String description, DataInputStream in) throws IOException(Code)(Java Doc) public JdwpReplyPacket requestVM(int command, byte[] outData)(Code)(Java Doc) public JdwpReplyPacket requestVM(int command, ByteArrayOutputStream outData)(Code)(Java Doc) public JdwpReplyPacket requestVM(int command, ObjectReferenceImpl object)(Code)(Java Doc) public JdwpReplyPacket requestVM(int command, ReferenceTypeImpl refType)(Code)(Java Doc) public JdwpReplyPacket requestVM(int command)(Code)(Java Doc) public String toString()(Code)(Java Doc) public VerboseWriter verboseWriter()(Code)(Java Doc) public VirtualMachine virtualMachine()(Code)(Java Doc) public VirtualMachineImpl virtualMachineImpl()(Code)(Java Doc) public void writeBoolean(boolean value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeByte(byte value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeByte(byte value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeByte(byte value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeChar(char value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeDouble(double value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeFloat(float value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeInt(int value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeInt(int value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeInt(int value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeLong(long value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeShort(short value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeShort(short value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeShort(short value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeString(String value, String description, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeVerboseCommandPacketHeader(JdwpCommandPacket commandPacket)(Code)(Java Doc)
|
|
|