|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents instance of some object in debugged JVM. This interface can
be optionally inplemented by a implementation of LocalVariable or
Field interfaces.
LocalVariable,
Field,
This,
Super,
JPDAThread.getContendedMonitor(),
JPDAThread.getOwnedMonitors()| Method Summary | |
Field[] |
getAllStaticFields(int from,
int to)
Return all static fields. |
Field |
getField(String name)
Returns field defined in this object. |
Field[] |
getFields(int from,
int to)
Returns non static fields defined in this object. |
int |
getFieldsCount()
Number of fields defined in this object. |
Field[] |
getInheritedFields(int from,
int to)
Return all inherited fields. |
Super |
getSuper()
Returns representation of super class of this object. |
String |
getToStringValue()
Calls Object.toString() in debugged JVM and returns
its value. |
Variable |
invokeMethod(String methodName,
String signature,
Variable[] arguments)
Calls given method in debugged JVM on this instance and returns its value. |
| Methods inherited from interface org.netbeans.api.debugger.jpda.Variable |
getType, getValue |
| Method Detail |
public String getToStringValue() throws InvalidExpressionException
Object.toString() in debugged JVM and returns
its value.
InvalidExpressionExceptionpublic Variable invokeMethod(String methodName, String signature, Variable[] arguments) throws NoSuchMethodException, InvalidExpressionException
methodName - a name of method to be calledsignature - a signature of method to be calledarguments - a arguments to be used
NoSuchMethodException
InvalidExpressionExceptionpublic int getFieldsCount()
public Field getField(String name)
name - a name of field to be returned
public Field[] getFields(int from, int to)
from - a index of first field to be returnedto - a index of last field to be returned
public Field[] getAllStaticFields(int from, int to)
public Field[] getInheritedFields(int from, int to)
public Super getSuper()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||