| java.lang.Object org.eclipse.jdi.internal.MirrorImpl org.eclipse.jdi.internal.ValueImpl org.eclipse.jdi.internal.ObjectReferenceImpl
All known Subclasses: org.eclipse.jdi.internal.ArrayReferenceImpl, org.eclipse.jdi.internal.ThreadReferenceImpl, org.eclipse.jdi.internal.ThreadGroupReferenceImpl, org.eclipse.jdi.internal.ClassObjectReferenceImpl, org.eclipse.jdi.internal.ClassLoaderReferenceImpl, org.eclipse.jdi.internal.StringReferenceImpl,
ObjectReferenceImpl | public class ObjectReferenceImpl extends ValueImpl implements ObjectReference(Code) | | this class implements the corresponding interfaces
declared by the JDI specification. See the com.sun.jdi package
for more information.
|
Field Summary | |
final public static byte | tag JDWP Tag. |
tag | final public static byte tag(Code) | | JDWP Tag.
|
disableCollection | public void disableCollection()(Code) | | Prevents garbage collection for this object.
|
enableCollection | public void enableCollection()(Code) | | Permits garbage collection for this object.
|
getTag | public byte getTag()(Code) | | |
getValue | public Value getValue(Field field)(Code) | | Returns the value of a given instance or static field in this object. |
getValues | public Map getValues(List allFields)(Code) | | Returns the value of multiple instance and/or static fields in this object. |
hashCode | public int hashCode()(Code) | | Returns the hash code value. |
idString | public String idString()(Code) | | Returns string with value of ID. |
isCollected | public boolean isCollected()(Code) | | Returns if this object has been garbage collected in the target VM. |
referenceType | public ReferenceType referenceType()(Code) | | Returns the ReferenceType that mirrors the type of this object. |
referringObjects | public List referringObjects(long maxReferrers) throws UnsupportedOperationException, IllegalArgumentException(Code) | | Returns objects that directly reference this object. Only objects that are reachable for the purposes of garbage collection are returned. Note that an object can also be referenced in other ways, such as from a local variable in a stack frame, or from a JNI global reference. Such non-object referrers are not returned by this method. since: 3.3 |
toString | public String toString()(Code) | | Returns description of Mirror object. |
type | public Type type()(Code) | | Returns the Type that mirrors the type of this object. |
uniqueID | public long uniqueID()(Code) | | Returns a unique identifier for this ObjectReference. |
Methods inherited from org.eclipse.jdi.internal.ValueImpl | protected static ValueImpl checkPrimitiveValue(PrimitiveValueImpl value, PrimitiveTypeImpl valueType, PrimitiveTypeImpl type) throws InvalidTypeException(Code)(Java Doc) public static ValueImpl checkValue(Value value, Type type, VirtualMachineImpl vm) throws InvalidTypeException(Code)(Java Doc) protected static List checkValues(List values, List types, VirtualMachineImpl vm) throws InvalidTypeException(Code)(Java Doc) abstract public byte getTag()(Code)(Java Doc) public static ValueImpl readWithTag(MirrorImpl target, DataInputStream in) throws IOException(Code)(Java Doc) public static ValueImpl readWithoutTag(MirrorImpl target, int type, DataInputStream in) throws IOException(Code)(Java Doc) abstract public Type type()(Code)(Java Doc) abstract public void write(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc) public static void writeNull(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc) public static void writeNullWithTag(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc) public void writeWithTag(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc)
|
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)
|
|
|