Package net.bytebuddy.build
A package for types that allow for applying Byte Buddy transformation during a build process.
-
Interface Summary Interface Description EntryPoint An entry point for a build tool which is responsible for the transformation's configuration.Plugin A plugin that allows for the application of Byte Buddy transformations during a build process. -
Class Summary Class Description HashCodeAndEqualsPlugin A build tool plugin that addsObject.hashCode()
andObject.equals(Object)
methods to a class if theHashCodeAndEqualsPlugin.Enhance
annotation is present and no explicit method declaration was added.HashCodeAndEqualsPlugin.ValueMatcher An element matcher for aHashCodeAndEqualsPlugin.ValueHandling
annotation.HashCodeAndEqualsPlugin.WithNonNullableFields A version of theHashCodeAndEqualsPlugin
that assumes that all fields are non-nullable unless they are explicitly marked.ToStringPlugin A build tool plugin that adds aObject.toString()
and method to a class if theToStringPlugin.Enhance
annotation is present and no explicit method declaration was added. -
Enum Summary Enum Description EntryPoint.Default Default implementations for an entry point.HashCodeAndEqualsPlugin.Enhance.InvokeSuper A strategy for determining the base value of a hash code or equality contract.HashCodeAndEqualsPlugin.ValueHandling.Sort Determines how a field should be handled.ToStringPlugin.Enhance.Prefix A strategy for defining a prefix. -
Annotation Types Summary Annotation Type Description HashCodeAndEqualsPlugin.Enhance Instructs theHashCodeAndEqualsPlugin
to generateObject.hashCode()
andObject.equals(Object)
for the annotated class unless these methods are already declared explicitly.HashCodeAndEqualsPlugin.ValueHandling Determines how a field should be used within generated hash code and equality methods.ToStringPlugin.Enhance Instructs theToStringPlugin
to generate aObject.toString()
method for the annotated class unless this method is already declared explicitly.ToStringPlugin.Exclude Determines that the annotated field is excluded from a string representation of theToStringPlugin
.