Package net.bytebuddy.build
Interface Plugin.Engine.TypeStrategy
-
- All Known Implementing Classes:
Plugin.Engine.TypeStrategy.Default,Plugin.Engine.TypeStrategy.ForEntryPoint
- Enclosing interface:
- Plugin.Engine
public static interface Plugin.Engine.TypeStrategyA type strategy determines the transformation that is applied to a type description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlugin.Engine.TypeStrategy.DefaultDefault implementations for type strategies.static classPlugin.Engine.TypeStrategy.ForEntryPointA type strategy that represents a givenEntryPointfor a build tool.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamicType.Builder<?>builder(ByteBuddy byteBuddy, TypeDescription typeDescription, ClassFileLocator classFileLocator)Creates a builder for a given type.
-
-
-
Method Detail
-
builder
DynamicType.Builder<?> builder(ByteBuddy byteBuddy, TypeDescription typeDescription, ClassFileLocator classFileLocator)
Creates a builder for a given type.- Parameters:
byteBuddy- The Byte Buddy instance to use.typeDescription- The type being transformed.classFileLocator- A class file locator for finding the type's class file.- Returns:
- A dynamic type builder for the provided type.
-
-