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.PoolStrategyA pool strategy determines the creation of aTypePoolfor a plugin engine application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlugin.Engine.PoolStrategy.DefaultA default implementation of a pool strategy where type descriptions are resolved lazily.static classPlugin.Engine.PoolStrategy.EagerA pool strategy that resolves type descriptions eagerly.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypePooltypePool(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.
-
-