Package net.bytebuddy.build
Interface EntryPoint
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
EntryPoint.Default
,EntryPoint.Unvalidated
public interface EntryPoint extends java.io.Serializable
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.static class
EntryPoint.Unvalidated
An entry point that wraps another entry point but disables validation.
-
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.
-
-