MethodHandle
constant that performs a MethodHandle#asType(MethodType)
adaptation on another MethodHandle
.
Modifier and Type | Field and Description |
---|---|
private final MethodTypeDesc | |
private final MethodHandleDesc |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public MethodTypeDesc | invocationType()
Implements java. Returns a |
public MethodHandle | resolveConstantDesc(MethodHandles.
The lookupMethodHandles. to provide name resolution
and access control contextOverrides 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. |
type | back to summary |
---|---|
private final MethodTypeDesc type |
underlying | back to summary |
---|---|
private final MethodHandleDesc underlying |
AsTypeMethodHandleDesc | back to summary |
---|---|
pack-priv 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. |