public static enum TypeResolutionStrategy.Disabled extends java.lang.Enum<TypeResolutionStrategy.Disabled> implements TypeResolutionStrategy, TypeResolutionStrategy.Resolved
TypeResolutionStrategy.Active, TypeResolutionStrategy.Disabled, TypeResolutionStrategy.Lazy, TypeResolutionStrategy.Passive, TypeResolutionStrategy.Resolved| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
<S extends java.lang.ClassLoader> |
initialize(DynamicType dynamicType,
S classLoader,
ClassLoadingStrategy<? super S> classLoadingStrategy)
Loads and initializes a dynamic type.
|
TypeInitializer |
injectedInto(TypeInitializer typeInitializer)
Injects a type initializer into the supplied type initializer, if applicable.
|
TypeResolutionStrategy.Resolved |
resolve()
Resolves a type resolution strategy for actual application.
|
static TypeResolutionStrategy.Disabled |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeResolutionStrategy.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeResolutionStrategy.Disabled INSTANCE
public static TypeResolutionStrategy.Disabled[] values()
for (TypeResolutionStrategy.Disabled c : TypeResolutionStrategy.Disabled.values()) System.out.println(c);
public static TypeResolutionStrategy.Disabled 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 TypeResolutionStrategy.Resolved resolve()
resolve in interface TypeResolutionStrategypublic TypeInitializer injectedInto(TypeInitializer typeInitializer)
injectedInto in interface TypeResolutionStrategy.ResolvedtypeInitializer - The type initializer to potentially expend.public <S extends java.lang.ClassLoader> java.util.Map<TypeDescription,java.lang.Class<?>> initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy)
initialize in interface TypeResolutionStrategy.ResolvedS - The least specific type of class loader this strategy can apply to.dynamicType - The dynamic type to initialize.classLoader - The class loader to use.classLoadingStrategy - The class loading strategy to use.