| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | InvokableTypeImpl.
The invocation result wrapper It is necessary because both ClassType and InterfaceType use their own type to represent the invocation result |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | |
| pack-priv final void | addVisibleMethods(Map<String, Method> methodMap, Set<InterfaceType> seenInterfaces)
Implements abstract com.
|
| public final List | Returns: A list of all methods (recursively)Implements abstract com. Implements com. Shared implementation of ClassType#allMethods() and InterfaceType#allMethods() |
| pack-priv abstract boolean | |
| pack-priv final List | Returns: A list of all the implemented interfaces (recursively)Returns all the implemented interfaces recursively |
| pack-priv abstract CommandSender | Returns: the specific CommandSender instancethe current invocation thread thread, MethodImpl the method to invoke method, ValueImpl[] the arguments to pass to the method args, int the integer bit flag options options)A subclass will provide specific CommandSender |
| pack-priv final List | |
| pack-priv abstract List | Returns: the list of implemented/extended interfacesGet the implemented/extended interfaces |
| public final Value | Returns: aValue mirror of the invoked method's return value.the thread in which to invoke. threadIntf, Method method the methodIntf, List<? extends Value> Method to invoke.the list of origArguments, int Value arguments bound to the
invoked method. Values from the list are assigned to arguments
in the order they appear in the method signature.the integer bit flag options. options)Method invocation support. |
| pack-priv boolean | isAssignableTo(ReferenceType type)
Implements abstract com.
|
| private PacketStream | sendInvokeCommand(final ThreadReferenceImpl thread, final MethodImpl method, final ValueImpl[] args, final int options)
|
| pack-priv abstract ClassType | |
| private void | |
| pack-priv abstract InvokableTypeImpl. | Returns: the InvocationResult instancethe stream to listen for the reply on stream)Waits for the reply to the last sent command |
| InvokableTypeImpl | back to summary |
|---|---|
| pack-priv InvokableTypeImpl(VirtualMachine aVm, long aRef) | |
| addInterfaces | back to summary |
|---|---|
| pack-priv final void addInterfaces(List<InterfaceType> list) | |
| addVisibleMethods | back to summary |
|---|---|
| pack-priv final void addVisibleMethods(Map<String, Method> methodMap, Set<InterfaceType> seenInterfaces) Implements abstract com.
| |
| allMethods | back to summary |
|---|---|
| public final List Implements abstract com. Implements com. Shared implementation of ClassType#allMethods() and InterfaceType#allMethods() | |
| canInvoke | back to summary |
|---|---|
| pack-priv abstract boolean canInvoke(Method method) Checks the provided method whether it can be invoked
| |
| getAllInterfaces | back to summary |
|---|---|
| pack-priv final List Returns all the implemented interfaces recursively
| |
| getInvokeMethodSender | back to summary |
|---|---|
| pack-priv abstract CommandSender getInvokeMethodSender(ThreadReferenceImpl thread, MethodImpl method, ValueImpl[] args, int options) A subclass will provide specific CommandSender
| |
| inheritedTypes | back to summary |
|---|---|
| pack-priv final List Implements abstract com.
| |
| interfaces | back to summary |
|---|---|
| pack-priv abstract List Get the implemented/extended interfaces
| |
| invokeMethod | back to summary |
|---|---|
| public final Value invokeMethod(ThreadReference threadIntf, Method methodIntf, List<? extends Value> origArguments, int options) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException Method invocation support. Shared by ClassType and InterfaceType
| |
| isAssignableTo | back to summary |
|---|---|
| pack-priv boolean isAssignableTo(ReferenceType type) Implements abstract com.
| |
| sendInvokeCommand | back to summary |
|---|---|
| private PacketStream sendInvokeCommand(final ThreadReferenceImpl thread, final MethodImpl method, final ValueImpl[] args, final int options) | |
| superclass | back to summary |
|---|---|
| pack-priv abstract ClassType superclass() Get the ReferenceType superclass
| |
| validateMethodInvocation | back to summary |
|---|---|
| private void validateMethodInvocation(Method method) throws InvalidTypeException, InvocationException | |
| waitForReply | back to summary |
|---|---|
| pack-priv abstract InvokableTypeImpl. Waits for the reply to the last sent command
| |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectReferenceImpl | |
| public ValueImpl |
| getException | back to summary |
|---|---|
| public ObjectReferenceImpl getException() | |
| getResult | back to summary |
|---|---|
| public ValueImpl getResult() | |