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 itsLoadedTypeInitializer
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TypeResolutionStrategy.Active
A type resolution strategy that applies allLoadedTypeInitializer
as a part of class loading using reflection.static class
TypeResolutionStrategy.Disabled
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 class
TypeResolutionStrategy.Lazy
A type resolution strategy that does not apply anyLoadedTypeInitializer
s but only loads all types.static class
TypeResolutionStrategy.Passive
A type resolution strategy that applies allLoadedTypeInitializer
after class loading using reflection.static interface
TypeResolutionStrategy.Resolved
A resolvedTypeResolutionStrategy
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeResolutionStrategy.Resolved
resolve()
Resolves a type resolution strategy for actual application.
-
-
-
Method Detail
-
resolve
TypeResolutionStrategy.Resolved resolve()
Resolves a type resolution strategy for actual application.- Returns:
- A resolved version of this type resolution strategy.
-
-