protected static enum ClassInjector.UsingLookup.DefineClassAction extends Enum<ClassInjector.UsingLookup.DefineClassAction> implements PrivilegedAction<Method>
java.lang.invoke.MethodHandles$Lookup#defineClass
, or null
,
if not available. This method must be invoked reflectively since the security manager checks the scope of
invocation for this method such that JavaDispatcher
cannot be used.Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Method |
run() |
static ClassInjector.UsingLookup.DefineClassAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassInjector.UsingLookup.DefineClassAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassInjector.UsingLookup.DefineClassAction INSTANCE
public static ClassInjector.UsingLookup.DefineClassAction[] values()
for (ClassInjector.UsingLookup.DefineClassAction c : ClassInjector.UsingLookup.DefineClassAction.values()) System.out.println(c);
public static ClassInjector.UsingLookup.DefineClassAction 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 Method run()
run
in interface PrivilegedAction<Method>
Copyright © 2014–2021. All rights reserved.