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.TypeStrategy
A type strategy determines the transformation that is applied to a type description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Plugin.Engine.TypeStrategy.Default
Default implementations for type strategies.static class
Plugin.Engine.TypeStrategy.ForEntryPoint
A type strategy that represents a givenEntryPoint
for 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.
-
-