public static enum MethodHandleAccessProvider.IntrinsicMethod extends Enum<MethodHandleAccessProvider.IntrinsicMethod>
MethodHandle
that are processed by
the MethodHandleAccessProvider
.Enum Constant and Description |
---|
INVOKE_BASIC
The method
MethodHandle.invokeBasic . |
LINK_TO_INTERFACE
The method
MethodHandle.linkToInterface . |
LINK_TO_SPECIAL
The method
MethodHandle.linkToSpecial . |
LINK_TO_STATIC
The method
MethodHandle.linkToStatic . |
LINK_TO_VIRTUAL
The method
MethodHandle.linkToVirtual . |
Modifier and Type | Method and Description |
---|---|
static MethodHandleAccessProvider.IntrinsicMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodHandleAccessProvider.IntrinsicMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodHandleAccessProvider.IntrinsicMethod INVOKE_BASIC
MethodHandle.invokeBasic
.public static final MethodHandleAccessProvider.IntrinsicMethod LINK_TO_STATIC
MethodHandle.linkToStatic
.public static final MethodHandleAccessProvider.IntrinsicMethod LINK_TO_SPECIAL
MethodHandle.linkToSpecial
.public static final MethodHandleAccessProvider.IntrinsicMethod LINK_TO_VIRTUAL
MethodHandle.linkToVirtual
.public static final MethodHandleAccessProvider.IntrinsicMethod LINK_TO_INTERFACE
MethodHandle.linkToInterface
.public static MethodHandleAccessProvider.IntrinsicMethod[] values()
for (MethodHandleAccessProvider.IntrinsicMethod c : MethodHandleAccessProvider.IntrinsicMethod.values()) System.out.println(c);
public static MethodHandleAccessProvider.IntrinsicMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null