Class EntryPoint.Unvalidated

  • All Implemented Interfaces:
    java.io.Serializable, EntryPoint
    Enclosing interface:
    EntryPoint

    @Enhance
    public static class EntryPoint.Unvalidated
    extends java.lang.Object
    implements EntryPoint
    An entry point that wraps another entry point but disables validation.
    See Also:
    Serialized Form
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        The serial version UID.
        See Also:
        Constant Field Values
      • delegate

        private final EntryPoint delegate
        The entry point to use.
    • Constructor Detail

      • Unvalidated

        public Unvalidated​(EntryPoint delegate)
        Creates a new entry point with disabled validation.
        Parameters:
        delegate - The entry point to use.
    • Method Detail

      • byteBuddy

        public ByteBuddy byteBuddy​(ClassFileVersion classFileVersion)
        Returns the Byte Buddy instance to use.
        Specified by:
        byteBuddy in interface EntryPoint
        Parameters:
        classFileVersion - The class file version in which to represent class files.
        Returns:
        The Byte Buddy instance to use.
      • transform

        public DynamicType.Builder<?> transform​(TypeDescription typeDescription,
                                                ByteBuddy byteBuddy,
                                                ClassFileLocator classFileLocator,
                                                MethodNameTransformer methodNameTransformer)
        Applies a transformation.
        Specified by:
        transform in interface EntryPoint
        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.