Package net.bytebuddy.dynamic
Interface TypeResolutionStrategy
- All Known Implementing Classes:
TypeResolutionStrategy.Active
,TypeResolutionStrategy.Disabled
,TypeResolutionStrategy.Lazy
,TypeResolutionStrategy.Passive
public interface TypeResolutionStrategy
A type resolution strategy is responsible for loading a class and for initializing its
LoadedTypeInitializer
s.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A type resolution strategy that applies allLoadedTypeInitializer
as a part of class loading using reflection.static enum
A type resolution strategy that does not allow for explicit loading of a class and that does not inject any code into the type initializer.static enum
A type resolution strategy that does not apply anyLoadedTypeInitializer
s but only loads all types.static enum
A type resolution strategy that applies allLoadedTypeInitializer
after class loading using reflection.static interface
A resolvedTypeResolutionStrategy
. -
Method Summary
Modifier and TypeMethodDescriptionresolve()
Resolves a type resolution strategy for actual application.
-
Method Details
-
resolve
TypeResolutionStrategy.Resolved resolve()Resolves a type resolution strategy for actual application.- Returns:
- A resolved version of this type resolution strategy.
-