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.
    • 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.