Package net.bytebuddy.build
Class EntryPoint.Unvalidated
- java.lang.Object
-
- net.bytebuddy.build.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.build.EntryPoint
EntryPoint.Default, EntryPoint.Unvalidated
-
-
Field Summary
Fields Modifier and Type Field Description private EntryPoint
delegate
The entry point to use.private static long
serialVersionUID
The serial version UID.
-
Constructor Summary
Constructors Constructor Description Unvalidated(EntryPoint delegate)
Creates a new entry point with disabled validation.
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
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 interfaceEntryPoint
- 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 interfaceEntryPoint
- 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.
-
-