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 ClassesModifier and TypeInterfaceDescriptionstatic enum
Default implementations for type strategies.static class
A type strategy that represents a givenEntryPoint
for a build tool. -
Method Summary
Modifier and TypeMethodDescriptionbuilder
(ByteBuddy byteBuddy, TypeDescription typeDescription, ClassFileLocator classFileLocator) Creates a builder for a given type.
-
Method Details
-
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.
-