public static enum TypeResolutionStrategy.Passive extends Enum<TypeResolutionStrategy.Passive> implements TypeResolutionStrategy, TypeResolutionStrategy.Resolved
LoadedTypeInitializer after class loading using reflection. This implies that the initializers
are executed after a type initializer is executed.TypeResolutionStrategy.Active, TypeResolutionStrategy.Disabled, TypeResolutionStrategy.Lazy, TypeResolutionStrategy.Passive, TypeResolutionStrategy.Resolved| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Map<TypeDescription,Class<?>> |
initialize(DynamicType dynamicType,
ClassLoader classLoader,
ClassLoadingStrategy 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.
|
String |
toString() |
static TypeResolutionStrategy.Passive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeResolutionStrategy.Passive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeResolutionStrategy.Passive INSTANCE
public static TypeResolutionStrategy.Passive[] values()
for (TypeResolutionStrategy.Passive c : TypeResolutionStrategy.Passive.values()) System.out.println(c);
public static TypeResolutionStrategy.Passive 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 TypeResolutionStrategy.Resolved resolve()
TypeResolutionStrategyresolve in interface TypeResolutionStrategypublic TypeInitializer injectedInto(TypeInitializer typeInitializer)
TypeResolutionStrategy.ResolvedinjectedInto in interface TypeResolutionStrategy.ResolvedtypeInitializer - The type initializer to potentially expend.public Map<TypeDescription,Class<?>> initialize(DynamicType dynamicType, ClassLoader classLoader, ClassLoadingStrategy classLoadingStrategy)
TypeResolutionStrategy.Resolvedinitialize in interface TypeResolutionStrategy.ResolveddynamicType - The dynamic type to initialize.classLoader - The class loader to use.classLoadingStrategy - The class loading strategy to use.public String toString()
toString in class Enum<TypeResolutionStrategy.Passive>Copyright © 2014–2016. All rights reserved.