MethodHandle constant that performs a MethodHandle#asType(MethodType)
adaptation on another MethodHandle.
| Modifier and Type | Field and Description |
|---|---|
| private static final DirectMethodHandleDesc | |
| private final MethodTypeDesc | |
| private final MethodHandleDesc |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MethodTypeDesc | invocationType()
Implements java. Returns a |
| public MethodHandle | resolveConstantDesc(MethodHandles.
Overrides java. Implements java. Resolves this descriptor reflectively, emulating the resolution behavior of JVMS 5.4.3 and the access control behavior of JVMS 5.4.4. |
| public String | toString()
Overrides java. Returns a compact textual description of this constant description, including the bootstrap method, the constant name and type, and the static bootstrap arguments. |
| MHD_METHODHANDLE_ASTYPE | back to summary |
|---|---|
| private static final DirectMethodHandleDesc MHD_METHODHANDLE_ASTYPE | |
| type | back to summary |
|---|---|
| private final MethodTypeDesc type | |
| underlying | back to summary |
|---|---|
| private final MethodHandleDesc underlying | |
| AsTypeMethodHandleDesc | back to summary |
|---|---|
| public AsTypeMethodHandleDesc(MethodHandleDesc underlying, MethodTypeDesc type) | |
| invocationType | back to summary |
|---|---|
| public MethodTypeDesc invocationType() Implements java. Doc from java. Returns a
| |
| resolveConstantDesc | back to summary |
|---|---|
| public MethodHandle resolveConstantDesc(MethodHandles. Overrides java. Implements java. Doc from java. Resolves this descriptor reflectively, emulating the resolution behavior
of JVMS 5.4.3 and the access control behavior of JVMS 5.4.4. The resolution
and access control context is provided by the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a compact textual description of this constant description, including the bootstrap method, the constant name and type, and the static bootstrap arguments.
| |