Package net.bytebuddy.build
Interface EntryPoint
- All Known Implementing Classes:
EntryPoint.Default
public interface EntryPoint
An entry point for a build tool which is responsible for the transformation's configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Default implementations for an entry point. -
Method Summary
Modifier and TypeMethodDescriptionbyteBuddy
(ClassFileVersion classFileVersion) Returns the Byte Buddy instance to use.transform
(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Applies a transformation.
-
Method Details
-
byteBuddy
Returns the Byte Buddy instance to use.- Parameters:
classFileVersion
- The class file version in which to represent class files.- Returns:
- The Byte Buddy instance to use.
-
transform
DynamicType.Builder<?> transform(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Applies a transformation.- Parameters:
typeDescription
- The type to transform.byteBuddy
- The Byte Buddy instance to use.classFileLocator
- The class file locator to use.methodNameTransformer
- The Method name transformer to use.- Returns:
- A builder for the dynamic type to create.
-