|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A value referencing an object on a target VM.
Clients are not intended to implement this interface.
IJavaValue
Method Summary | |
IJavaFieldVariable |
getField(String name,
boolean superField)
Returns a variable representing the field in this object with the given name, or null if there is no
field with the given name, or the name is ambiguous. |
IJavaFieldVariable |
getField(String name,
String typeSignature)
Returns a variable representing the field in this object with the given name declared in the type with the given signature, or null if there is no
field with the given name, or the name is ambiguous. |
IJavaValue |
sendMessage(String selector,
String signature,
IJavaValue[] args,
IJavaThread thread,
boolean superSend)
Returns the result of sending the specified message to this object with the given arguments in the specified thread. |
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaValue |
getJavaType, getSignature |
Methods inherited from interface org.eclipse.debug.core.model.IValue |
getReferenceTypeName, getValueString, getVariables, hasVariables, isAllocated |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Method Detail |
public IJavaValue sendMessage(String selector, String signature, IJavaValue[] args, IJavaThread thread, boolean superSend) throws DebugException
selector
- the selector of the method to be invokedsignature
- the JNI style signature of the method to be invokedargs
- the arguments of the method, which can be
null
or emtpy if there are nonethread
- the thread in which to invoke the methodsuperSend
- true
if the method lookup should
begin in this object's superclass
DebugException
- if this method fails. Reasons include:IJavaThread.ERR_NESTED_METHOD_INVOCATION
)IJavaThread.ERR_THREAD_NOT_SUSPENDED
)IJavaThread.ERR_INCOMPATIBLE_THREAD_STATE
)public IJavaFieldVariable getField(String name, boolean superField) throws DebugException
null
if there is no
field with the given name, or the name is ambiguous.
name
- field namesuperField
- whether or not to get the field in the superclass
of this objects.
null
DebugException
- if this method fails. Reasons include:
public IJavaFieldVariable getField(String name, String typeSignature) throws DebugException
null
if there is no
field with the given name, or the name is ambiguous.
name
- field nametypeSignature
- the signature of the type in which the field
is defined
null
DebugException
- if this method fails. Reasons include:
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |