|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The class of an object on a Java debug target.
Clients are not intended to implement this interface.
IJavaValue| Method Summary | |
IJavaClassObject |
getClassObject()
Returns the class object associated with this class type. |
IJavaFieldVariable |
getField(String name)
Returns a variable representing the static field in this class with the given name, or null if there is no
field with the given name, or the name is ambiguous. |
IJavaClassType |
getSuperclass()
Returns the superclass of this class type, or null
if no such class exists. |
IJavaObject |
newInstance(String signature,
IJavaValue[] args,
IJavaThread thread)
Returns a new instance of this class by invoking the constructor with the given signature and arguments in the specified thread. |
IJavaValue |
sendMessage(String selector,
String signature,
IJavaValue[] args,
IJavaThread thread)
Returns the result of sending the specified message to this class with the given arguments in the specified thread (invokes a static method on this type). |
| Methods inherited from interface org.eclipse.jdt.debug.core.IJavaType |
getName, getSignature |
| Method Detail |
public IJavaObject newInstance(String signature,
IJavaValue[] args,
IJavaThread thread)
throws DebugException
signature - the JNI style signature of the method to be invokedargs - the arguments of the constructor, which can be
null or emtpy if there are nonethread - the thread in which to invoke the constructor
DebugException - if this method fails. Reasons include:IJavaThread.ERR_NESTED_METHOD_INVOCATION)IJavaThread.ERR_THREAD_NOT_SUSPENDED)IJavaThread.ERR_INCOMPATIBLE_THREAD_STATE)
public IJavaValue sendMessage(String selector,
String signature,
IJavaValue[] args,
IJavaThread thread)
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 method
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)
throws DebugException
null if there is no
field with the given name, or the name is ambiguous.
name - field name
null
DebugException - if this method fails. Reasons include:
public IJavaClassType getSuperclass()
throws DebugException
null
if no such class exists.
null
DebugException - if this method fails. Reasons include:
public IJavaClassObject getClassObject()
throws DebugException
DebugException - if this method fails. Reasons include:
|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||