Package net.bytebuddy.build
Interface Plugin.Engine.PoolStrategy
- All Known Implementing Classes:
Plugin.Engine.PoolStrategy.Default
,Plugin.Engine.PoolStrategy.Eager
- Enclosing interface:
- Plugin.Engine
public static interface Plugin.Engine.PoolStrategy
A pool strategy determines the creation of a
TypePool
for a plugin engine application.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
A default implementation of a pool strategy where type descriptions are resolved lazily.static enum
A pool strategy that resolves type descriptions eagerly. -
Method Summary
Modifier and TypeMethodDescriptiontypePool
(ClassFileLocator classFileLocator) Creates a type pool.
-
Method Details
-
typePool
Creates a type pool.- Parameters:
classFileLocator
- The class file locator to use.- Returns:
- An approptiate type pool.
-