Package net.bytebuddy.build
@ByDefault
package net.bytebuddy.build
A package for types that allow for applying Byte Buddy transformation during a build process.
-
ClassDescriptionA build tool plugin that instruments methods to dispatch to methods
java.security.AccessController
with equal signature.An wrapper for a method that represents a method ofAccessController
which is weaved.A method visitor to implement a weaved method to dispatch to anjava.security.AccessController
, if available.Indicates that the annotated method represents a pseudo implementation ofjava.security.AccessController
which can be weaved to dispatch to the access controller if this is possible on the current VM and not explicitly disabled on the current VM via a system property.A byte code appender to create an initializer segment that determines if thejava.security.AccessController
is available.An initializer that always uses the access controller if it is available.An initializer that uses a property to determine if the access controller should be actually used even if it is available.An API that can be implemented by logging build systems to allow plugins to log information without depending on a build system-specific logging API.An abstract adapter implementation for a build logger.A compound build logger.A non-operational build logger that discards all statements.A build logger that writes all statements to aPrintStream
.A plugin that caches the return value of a method in a synthetic field.Indicates the field that stores the cached value.An offset mapping for the cached field.Indicates methods that should be cached, i.e.An advice class for caching aboolean
value.An advice class for caching abyte
value.An advice class for caching achar
value.An advice class for caching adouble
value.An advice class for caching afloat
value.An advice class for caching aint
value.An advice class for caching along
value.An advice class for caching a reference value.An advice class for caching ashort
value.A plugin that adds anHashCodeAndEqualsPlugin.Enhance
annotation to any method of an enhanced type where the annotation is not set.An entry point for a build tool which is responsible for the transformation's configuration.Default implementations for an entry point.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.A comparator that arranges fields in the order ofHashCodeAndEqualsPlugin.Sorted
.Instructs theHashCodeAndEqualsPlugin
to generateObject.hashCode()
andObject.equals(Object)
for the annotated class unless these methods are already declared explicitly.A strategy for determining the base value of a hash code or equality contract.Determines the sort order of fields for the equality check when implementing theObject.equals(Object)
method.Determines how a field should be used within generated hash code and equality methods.Determines how a field should be handled.An element matcher for aHashCodeAndEqualsPlugin.ValueHandling
annotation.A version of theHashCodeAndEqualsPlugin
that assumes that all fields are non-nullable unless they are explicitly marked.A plugin that allows for the application of Byte Buddy transformations during a build process.A plugin engine allows the application of one or more plugins on class files found at aPlugin.Engine.Source
which are then transferred and consumed by aPlugin.Engine.Target
.An abstract base implementation of a plugin engine.A default implementation of a plugin engine.A dispatcher to execute a plugin engine transformation.A factory that is used for creating a dispatcher that is used for a specific plugin engine application.A dispatcher that applies transformations within one or more threads in parallel to the default transformer.An eager materialization that does not defer processing after preprocessing.A factory for a dispatcher that uses a given executor service for parallel dispatching.A parallel dispatcher that shuts down its executor service upon completion of a plugin engine's application.A factory for a parallel executor service that creates a new executor service on each plugin engine application.A dispatcher that applies transformation upon discovery.A factory for creating a serial dispatcher.The result of a work assignment that needs to be invoked from the main thread that triggers a dispatchers life-cycle methods.A materializable for an element that failed to be transformed.A materializable for an element that is retained in its original state.A materializable for a successfully transformed type.A materializable for an element that could not be resolved.An error handler that is used during a plugin engine application.A compound error handler.An error handler that enforces certain properties of the transformation.An implementation of an error handler that fails the plugin engine application.A listener that is invoked upon any event during a plugin engine application.An adapter that implements all methods non-operational.A compound listener.A listener decorator that forwards events to an error handler if they are applicable.A non-operational listener.A listener that forwards significant events of a plugin engine application to aPrintStream
.A decorator for another listener to only print error events.A decorator for another listener to only print transformation and error events.A pool strategy determines the creation of aTypePool
for a plugin engine application.A default implementation of a pool strategy where type descriptions are resolved lazily.A pool strategy that resolves type descriptions eagerly.A source for a plugin engine provides binary elements to consider for transformation.Represents a binary element found in a source location.An element representation for a byte array.An element representation for a file.Represents a jar file entry as an element.An empty source that does not contain any elements or a manifest.A source that applies a filter upon iterating elements.Represents the contents of a folder as class files.Represents a jar file as a source.A source that represents a collection of in-memory resources that are represented as byte arrays.An iterator that represents map entries as sources.An origin for elements.An origin that forwards all invocations to a delegate where anElementMatcher
is applied prior to iteration.An iterator that applies a filter to observed elements.An origin implementation for a jar file.A summary of the application of aPlugin.Engine
to a source and target.A target for a plugin engine represents a sink container for all elements that are supplied by aPlugin.Engine.Source
.A sink that discards any entry.Represents a folder as the target for a plugin engine's application.Represents a jar file as a target.A sink that stores all elements in a memory map.A sink represents an active writing process.Implements a sink for a jar file.A type strategy determines the transformation that is applied to a type description.Default implementations for type strategies.A type strategy that represents a givenEntryPoint
for a build tool.A factory for providing a build plugin.A simple factory that returns a preconstructed plugin instance..A plugin factory that uses reflection for instantiating a plugin.Allows to resolve arguments for aPlugin
constructor.An argument resolver that resolves an argument for a specific parameter index.An argument resolver that resolves an argument for a specific parameter index by attempting a conversion via invoking a staticvalueOf
method on the target type, if it exists.An argument resolver that resolves parameters for a given type.An argument resolver that never resolves an argument.A resolution provided by an argument provider.Represents a resolved argument resolution.Represents an unresolved argument resolution.An instantiator is responsible for invoking a plugin constructor reflectively.Represents an ambiguously resolved instantiator.An instantiator that is resolved for a given constructor with arguments.An instantiator that is not resolved for creating an instance.Indicates that a constructor should be treated with a given priority if several constructors can be resolved.An abstract base for aPlugin
that matches types by a givenElementMatcher
.A non-operational plugin that does not instrument any type.A plugin that applies a preprocessor, i.e.A plugin that allows for adding ajava.lang.annotation.Repeatable
annotation even if compiled prior to Java 8 which introduces this annotation.Indicates that the annotated annotation should be repeatable by the supplied annotation.A type attribute appender that adds a repeated annotation for a target type.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.Instructs theToStringPlugin
to generate aObject.toString()
method for the annotated class unless this method is already declared explicitly.A strategy for defining a prefix.Determines that the annotated field is excluded from a string representation of theToStringPlugin
.