Package net.bytebuddy.build
Class EntryPoint.Unvalidated
java.lang.Object
net.bytebuddy.build.EntryPoint.Unvalidated
- All Implemented Interfaces:
Serializable
,EntryPoint
- Enclosing interface:
EntryPoint
An entry point that wraps another entry point but disables validation.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.build.EntryPoint
EntryPoint.Default, EntryPoint.Unvalidated
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EntryPoint
The entry point to use.private static final long
The serial version UID. -
Constructor Summary
ConstructorsConstructorDescriptionUnvalidated
(EntryPoint delegate) Creates a new entry point with disabled validation. -
Method Summary
Modifier and TypeMethodDescriptionbyteBuddy
(ClassFileVersion classFileVersion) Returns the Byte Buddy instance to use.transform
(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Applies a transformation.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDThe serial version UID.- See Also:
-
delegate
The entry point to use.
-
-
Constructor Details
-
Unvalidated
Creates a new entry point with disabled validation.- Parameters:
delegate
- The entry point to use.
-
-
Method Details
-
byteBuddy
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.
-