public class ObjectReferenceImpl
extends java.lang.Object
implements com.sun.jdi.ObjectReference
Modifier and Type | Field and Description |
---|---|
protected VirtualMachineImpl |
vm |
Modifier and Type | Method and Description |
---|---|
void |
disableCollection() |
void |
enableCollection() |
int |
entryCount() |
boolean |
equals(java.lang.Object obj) |
com.sun.jdi.Value |
getValue(com.sun.jdi.Field sig) |
java.util.Map |
getValues(java.util.List theFields) |
int |
hashCode() |
com.sun.jdi.Value |
invokeMethod(com.sun.jdi.ThreadReference threadIntf,
com.sun.jdi.Method methodIntf,
java.util.List arguments,
int options) |
boolean |
isCollected() |
com.sun.jdi.ThreadReference |
owningThread() |
protected Oop |
ref() |
com.sun.jdi.ReferenceType |
referenceType() |
java.util.List |
referringObjects(long maxReferrers) |
void |
setValue(com.sun.jdi.Field field,
com.sun.jdi.Value value) |
java.lang.String |
toString() |
com.sun.jdi.Type |
type() |
long |
uniqueID() |
com.sun.jdi.VirtualMachine |
virtualMachine() |
java.util.List |
waitingThreads() |
protected VirtualMachineImpl vm
protected Oop ref()
public com.sun.jdi.Type type()
type
in interface com.sun.jdi.Value
public com.sun.jdi.ReferenceType referenceType()
referenceType
in interface com.sun.jdi.ObjectReference
public com.sun.jdi.Value getValue(com.sun.jdi.Field sig)
getValue
in interface com.sun.jdi.ObjectReference
public java.util.Map getValues(java.util.List theFields)
getValues
in interface com.sun.jdi.ObjectReference
public void setValue(com.sun.jdi.Field field, com.sun.jdi.Value value) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException
setValue
in interface com.sun.jdi.ObjectReference
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
public com.sun.jdi.Value invokeMethod(com.sun.jdi.ThreadReference threadIntf, com.sun.jdi.Method methodIntf, java.util.List arguments, int options) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.IncompatibleThreadStateException, com.sun.jdi.InvocationException, com.sun.jdi.ClassNotLoadedException
invokeMethod
in interface com.sun.jdi.ObjectReference
com.sun.jdi.InvalidTypeException
com.sun.jdi.IncompatibleThreadStateException
com.sun.jdi.InvocationException
com.sun.jdi.ClassNotLoadedException
public void disableCollection()
disableCollection
in interface com.sun.jdi.ObjectReference
public void enableCollection()
enableCollection
in interface com.sun.jdi.ObjectReference
public boolean isCollected()
isCollected
in interface com.sun.jdi.ObjectReference
public long uniqueID()
uniqueID
in interface com.sun.jdi.ObjectReference
public java.util.List waitingThreads() throws com.sun.jdi.IncompatibleThreadStateException
waitingThreads
in interface com.sun.jdi.ObjectReference
com.sun.jdi.IncompatibleThreadStateException
public com.sun.jdi.ThreadReference owningThread() throws com.sun.jdi.IncompatibleThreadStateException
owningThread
in interface com.sun.jdi.ObjectReference
com.sun.jdi.IncompatibleThreadStateException
public int entryCount() throws com.sun.jdi.IncompatibleThreadStateException
entryCount
in interface com.sun.jdi.ObjectReference
com.sun.jdi.IncompatibleThreadStateException
public java.util.List referringObjects(long maxReferrers)
referringObjects
in interface com.sun.jdi.ObjectReference
public boolean equals(java.lang.Object obj)
equals
in interface com.sun.jdi.ObjectReference
public int hashCode()
hashCode
in interface com.sun.jdi.ObjectReference
public java.lang.String toString()
toString
in interface com.sun.jdi.Mirror
toString
in class java.lang.Object
public com.sun.jdi.VirtualMachine virtualMachine()
virtualMachine
in interface com.sun.jdi.Mirror
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.