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 aTypePool
for a plugin engine application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Plugin.Engine.PoolStrategy.Default
A default implementation of a pool strategy where type descriptions are resolved lazily.static class
Plugin.Engine.PoolStrategy.Eager
A pool strategy that resolves type descriptions eagerly.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypePool
typePool(ClassFileLocator classFileLocator)
Creates a type pool.
-
-
-
Method Detail
-
typePool
TypePool typePool(ClassFileLocator classFileLocator)
Creates a type pool.- Parameters:
classFileLocator
- The class file locator to use.- Returns:
- An approptiate type pool.
-
-