| org.netbeans.api.debugger.jpda.ObjectVariable
ObjectVariable | public interface ObjectVariable extends Variable(Code) | | Represents instance of some object in debugged JVM. This interface can
be optionally inplemented by a implementation of
LocalVariable or
Field interfaces.
Since JDI interfaces evolve from one version to another, it's strongly recommended
not to implement this interface in client code. New methods can be added to
this interface at any time to keep up with the JDI functionality.
See Also: LocalVariable See Also: Field See Also: This See Also: Super See Also: JPDAThread.getContendedMonitor See Also: JPDAThread.getOwnedMonitors author: Jan Jancura |
getAllStaticFields | abstract public Field[] getAllStaticFields(int from, int to)(Code) | | Return all static fields.
all static fields |
getClassType | JPDAClassType getClassType()(Code) | | Get the run-time class type of this object variable.
The variable class type. |
getField | abstract public Field getField(String name)(Code) | | Returns field defined in this object.
Parameters: name - a name of field to be returned field defined in this object |
getFields | abstract public Field[] getFields(int from, int to)(Code) | | Returns non static fields defined in this object.
Parameters: from - the index of first field to be returned Parameters: to - the index of last field, exclusive fields defined in this object that are greater then or equal tofrom index and less then to index. |
getFieldsCount | abstract public int getFieldsCount()(Code) | | Number of fields defined in this object.
number of fields defined in this object |
getInheritedFields | abstract public Field[] getInheritedFields(int from, int to)(Code) | | Return all inherited fields.
all inherited fields |
getReferringObjects | List<ObjectVariable> getReferringObjects(long maxReferrers) throws UnsupportedOperationException(Code) | | Returns variables that directly reference this variable.
Use
JPDADebugger.canGetInstanceInfo to determine if this operation is supported.
Parameters: maxReferrers - The maximum number of referring variables to return. Must be non-negative. If zero, all referring variables are returned. A list of referring variables. |
getSuper | abstract public Super getSuper()(Code) | | Returns representation of super class of this object.
representation of super class of this object |
getUniqueID | long getUniqueID()(Code) | | Returns a unique identifier for this object variable.
It is guaranteed to be unique among all object variables from the same debuggee that have not yet been disposed.
a long unique ID |
invokeMethod | abstract public Variable invokeMethod(String methodName, String signature, Variable[] arguments) throws NoSuchMethodException, InvalidExpressionException(Code) | | Calls given method in debugged JVM on this instance and returns
its value.
Parameters: methodName - a name of method to be called Parameters: signature - a signature of method to be called Parameters: arguments - a arguments to be used value of given method call on this instance |
|
|