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 Classes Modifier and Type Interface Description static class
EntryPoint.Default
Default implementations for an entry point.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteBuddy
byteBuddy(ClassFileVersion classFileVersion)
Returns the Byte Buddy instance to use.DynamicType.Builder<?>
transform(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Applies a transformation.
-
-
-
Method Detail
-
byteBuddy
ByteBuddy byteBuddy(ClassFileVersion classFileVersion)
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.
-
-