public static enum JavaConstant.MethodHandle.Dispatcher.ForLegacyVm extends 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.
|
Class<?> |
lookupType(Object lookup)
Returns the lookup type of a given
java.lang.invoke.MethodHandles$Lookup instance. |
Object |
publicLookup()
Returns a public
java.lang.invoke.MethodHandles.Lookup instance. |
static JavaConstant.MethodHandle.Dispatcher.ForLegacyVm |
valueOf(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(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 nullpublic JavaConstant.MethodHandle.Dispatcher initialize()
initialize in interface JavaConstant.MethodHandle.Dispatcher.Initializablepublic Object publicLookup()
java.lang.invoke.MethodHandles.Lookup instance.publicLookup in interface JavaConstant.MethodHandle.Dispatcher.Initializablejava.lang.invoke.MethodHandles.Lookup instance.public Class<?> lookupType(Object lookup)
java.lang.invoke.MethodHandles$Lookup instance.lookupType in interface JavaConstant.MethodHandle.Dispatcher.Initializablelookup - A java.lang.invoke.MethodHandles$Lookup instance.Copyright © 2014–2019. All rights reserved.