public static enum JavaConstant.MethodHandle.Dispatcher.ForLegacyVm extends java.lang.Enum<JavaConstant.MethodHandle.Dispatcher.ForLegacyVm> implements JavaConstant.MethodHandle.Dispatcher.Initializable
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
JavaConstant.MethodHandle.Dispatcher |
initialize()
Initializes the dispatcher, if required.
|
java.lang.Class<?> |
lookupType(java.lang.Object lookup)
Returns the lookup type of a given
java.lang.invoke.MethodHandles$Lookup instance. |
java.lang.Object |
publicLookup()
Returns a public
java.lang.invoke.MethodHandles.Lookup instance. |
static JavaConstant.MethodHandle.Dispatcher.ForLegacyVm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaConstant.MethodHandle.Dispatcher.ForLegacyVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaConstant.MethodHandle.Dispatcher.ForLegacyVm INSTANCE
public static JavaConstant.MethodHandle.Dispatcher.ForLegacyVm[] values()
for (JavaConstant.MethodHandle.Dispatcher.ForLegacyVm c : JavaConstant.MethodHandle.Dispatcher.ForLegacyVm.values()) System.out.println(c);
public static JavaConstant.MethodHandle.Dispatcher.ForLegacyVm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic JavaConstant.MethodHandle.Dispatcher initialize()
initialize
in interface JavaConstant.MethodHandle.Dispatcher.Initializable
public java.lang.Object publicLookup()
java.lang.invoke.MethodHandles.Lookup
instance.publicLookup
in interface JavaConstant.MethodHandle.Dispatcher.Initializable
java.lang.invoke.MethodHandles.Lookup
instance.public java.lang.Class<?> lookupType(java.lang.Object lookup)
java.lang.invoke.MethodHandles$Lookup
instance.lookupType
in interface JavaConstant.MethodHandle.Dispatcher.Initializable
lookup
- A java.lang.invoke.MethodHandles$Lookup
instance.