| Modifier and Type | Class and Description |
|---|---|
| protected class | MethodInvocation.
Performs a dynamic method invocation of the given method. |
| protected static class | MethodInvocation.
Performs a method invocation on a method handle with a polymorphic type signature. |
| public static enum | MethodInvocation.
The type of method handle invocation. |
| protected static enum | MethodInvocation.
An illegal implicit method invocation. |
| protected class | MethodInvocation.
An implementation of a method invoking stack manipulation. |
| protected static class | MethodInvocation.
A method invocation of a generically resolved method. |
| public static interface | MethodInvocation.
Represents a method invocation where the invocation type (static, virtual, special, interface) is derived from the given method's description. |
| Modifier and Type | Field and Description |
|---|---|
| private final int | handle
The handle being used for a dynamic method invocation. |
| public static final MethodInvocation | INTERFACE
An interface-typed virtual method invocation. |
| public static final MethodInvocation | INTERFACE_PRIVATE
A private method call that is potentially virtual on an interface type. |
| private final int | legacyHandle
The handle being used for a dynamic method invocation before Java 11. |
| private final int | legacyOpcode
The opcode for invoking a method before Java 11. |
| private final int | opcode
The opcode for invoking a method. |
| public static final MethodInvocation | SPECIAL
A specialized pseudo-virtual method invocation for a non-constructor. |
| public static final MethodInvocation | SPECIAL_CONSTRUCTOR
A specialized pseudo-virtual method invocation for a constructor. |
| public static final MethodInvocation | STATIC
A static method invocation. |
| public static final MethodInvocation | VIRTUAL
A virtual method invocation. |
| public static final MethodInvocation | VIRTUAL_PRIVATE
A private method call that is potentially virtual. |
| Access | Constructor and Description |
|---|---|
| private | MethodInvocation(int
The opcode for invoking a method. opcode, int The handle being used for a dynamic method invocation. handle, int The opcode for invoking a method before Java 11. legacyOpcode, int The handle being used for a dynamic method invocation before Java 11. legacyHandle)Creates a new type of method invocation. |
| Modifier and Type | Method and Description |
|---|---|
| public static MethodInvocation. | Returns: A stack manipulation with implicitly determined invocation type.The method to be invoked. methodDescriptionCreates a method invocation with an implicitly determined invocation type. |
| public static MethodInvocation. | Returns: A stack manipulation with implicitly determined invocation type.The method to be invoked. methodDescription)Creates a method invocation with an implicitly determined invocation type. |
| public static StackManipulation | Returns: A method invocation for resolving the current lookup.Returns a method invocation of |
| public static MethodInvocation | |
| public static MethodInvocation[] |