| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private List | |
| private ClassType |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public List | allInterfaces()
Implements com. Gets the interfaces directly and indirectly implemented by this class. |
| pack-priv boolean | canInvoke(Method method)
Implements abstract com. Checks the provided method whether it can be invoked |
| public Method | concreteMethodByName(String name, String signature)
Implements com. Returns a single non-abstract |
| pack-priv CommandSender | getInvokeMethodSender(ThreadReferenceImpl thread, MethodImpl method, ValueImpl[] args, int options)
Implements abstract com. A subclass will provide specific CommandSender |
| public List | interfaces()
Implements abstract com. Implements com. Gets the interfaces directly implemented by this class. |
| public boolean | |
| public ObjectReference | newInstance(ThreadReference threadIntf, Method methodIntf, List<? extends Value> origArguments, int options)
Implements com. Constructs a new instance of this type, using
the given constructor |
| pack-priv PacketStream | sendNewInstanceCommand(final ThreadReferenceImpl thread, final MethodImpl method, final ValueImpl[] args, final int options)
|
| public void | setValue(Field field, Value value)
Implements com. Assigns a value to a static field. |
| public List | subclasses()
Implements com. Gets the currently loaded, direct subclasses of this class. |
| public ClassType | superclass()
Implements abstract com. Implements com. Gets the superclass of this class. |
| public String | toString()
Overrides java. Implements com. Returns a String describing this mirror |
| pack-priv void | |
| pack-priv InvokableTypeImpl. | waitForReply(PacketStream stream)
Implements abstract com. Waits for the reply to the last sent command |
| cachedSuperclass | back to summary |
|---|---|
| private boolean cachedSuperclass | |
| interfaces | back to summary |
|---|---|
| private List<InterfaceType> interfaces | |
| superclass | back to summary |
|---|---|
| private ClassType superclass | |
| ClassTypeImpl | back to summary |
|---|---|
| protected ClassTypeImpl(VirtualMachine aVm, long aRef) | |
| allInterfaces | back to summary |
|---|---|
| public List Implements com. Doc from com. Gets the interfaces directly and indirectly implemented
by this class. Interfaces returned by
| |
| canInvoke | back to summary |
|---|---|
| pack-priv boolean canInvoke(Method method) Implements abstract com. Doc from com. Checks the provided method whether it can be invoked
| |
| concreteMethodByName | back to summary |
|---|---|
| public Method concreteMethodByName(String name, String signature) Implements com. Doc from com. Returns a single non-abstract
The returned method (if non-null) is a component of
| |
| getInvokeMethodSender | back to summary |
|---|---|
| pack-priv CommandSender getInvokeMethodSender(ThreadReferenceImpl thread, MethodImpl method, ValueImpl[] args, int options) Implements abstract com. Doc from com. A subclass will provide specific CommandSender
| |
| interfaces | back to summary |
|---|---|
| public List Implements abstract com. Implements com. Doc from com. Gets the interfaces directly implemented by this class. Only the interfaces that are declared with the "implements" keyword in this class are included.
| |
| isEnum | back to summary |
|---|---|
| public boolean isEnum() Implements com. Doc from com. Determine if this class was declared as an enum. | |
| newInstance | back to summary |
|---|---|
| public ObjectReference newInstance(ThreadReference threadIntf, Method methodIntf, List<? extends Value> origArguments, int options) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException Implements com. Doc from com. Constructs a new instance of this type, using
the given constructor
Instance creation will occur in the specified thread.
Instance creation can occur only if the specified thread
has been suspended by an event which occurred in that thread.
Instance creation is not supported
when the target VM has been suspended through
The specified constructor is invoked with the arguments in the specified
argument list. The invocation is synchronous; this method
does not return until the constructor returns in the target VM.
If the invoked method throws an
exception, this method will throw an Object arguments must be assignment compatible with the argument type (This implies that the argument type must be loaded through the enclosing class' class loader). Primitive arguments must be either assignment compatible with the argument type or must be convertible to the argument type without loss of information. If the method being called accepts a variable number of arguments, then the last argument type is an array of some component type. The argument in the matching position can be omitted, or can be null, an array of the same component type, or an argument of the component type, followed by any number of other arguments of the same type. If the argument is omitted, then a 0 length array of the component type is passed. The component type can be a primitive type. Autoboxing is not supported. See section 5.2 of The Java Language Specification for more information on assignment compatibility.
By default, all threads in the target VM are resumed while
the method is being invoked if they were previously
suspended by an event or by
The resumption of other threads during the invocation can be prevented
by specifying the
If the target VM is disconnected during the invoke (for example, through
| |
| sendNewInstanceCommand | back to summary |
|---|---|
| pack-priv PacketStream sendNewInstanceCommand(final ThreadReferenceImpl thread, final MethodImpl method, final ValueImpl[] args, final int options) | |
| setValue | back to summary |
|---|---|
| public void setValue(Field field, Value value) throws InvalidTypeException, ClassNotLoadedException Implements com. Doc from com. Assigns a value to a static field.
The Object values must be assignment compatible with the field type (This implies that the field type must be loaded through the enclosing class' class loader). Primitive values must be either assignment compatible with the field type or must be convertible to the field type without loss of information. See JLS section 5.2 for more information on assignment compatibility.
| |
| subclasses | back to summary |
|---|---|
| public List Implements com. Doc from com. Gets the currently loaded, direct subclasses of this class. No ordering of this list is guaranteed. | |
| superclass | back to summary |
|---|---|
| public ClassType superclass() Implements abstract com. Implements com. Doc from com. Gets the superclass of this class. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements com. Doc from com. Returns a String describing this mirror | |
| validateConstructorInvocation | back to summary |
|---|---|
| pack-priv void validateConstructorInvocation(Method method) throws InvalidTypeException, InvocationException | |
| waitForReply | back to summary |
|---|---|
| pack-priv InvokableTypeImpl. Implements abstract com. Doc from com. Waits for the reply to the last sent command
| |
| Modifier and Type | Field and Description |
|---|---|
| private final JDWP. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectReferenceImpl | |
| public ValueImpl |
| rslt | back to summary |
|---|---|
| private final JDWP. | |
| IResult | back to summary |
|---|---|
| public IResult(JDWP. | |
| getException | back to summary |
|---|---|
| public ObjectReferenceImpl getException() Implements com.
| |
| getResult | back to summary |
|---|---|
| public ValueImpl getResult() Implements com.
| |