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(AccessControlContext accessControlContext)
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. |
String |
toString() |
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(AccessControlContext accessControlContext)
JavaConstant.MethodHandle.Dispatcher.Initializableinitialize in interface JavaConstant.MethodHandle.Dispatcher.InitializableaccessControlContext - The access control context to be used for introspecting private APIs, if required.public Object publicLookup()
JavaConstant.MethodHandle.Dispatcher.Initializablejava.lang.invoke.MethodHandles.Lookup instance.publicLookup in interface JavaConstant.MethodHandle.Dispatcher.Initializablejava.lang.invoke.MethodHandles.Lookup instance.public Class<?> lookupType(Object lookup)
JavaConstant.MethodHandle.Dispatcher.Initializablejava.lang.invoke.MethodHandles$Lookup instance.lookupType in interface JavaConstant.MethodHandle.Dispatcher.Initializablelookup - A java.lang.invoke.MethodHandles$Lookup instance.public String toString()
toString in class Enum<JavaConstant.MethodHandle.Dispatcher.ForLegacyVm>Copyright © 2014–2016. All rights reserved.