Uses of Interface
net.bytebuddy.build.Plugin
-
Packages that use Plugin Package Description net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.net.bytebuddy.build A package for types that allow for applying Byte Buddy transformation during a build process.net.bytebuddy.build.maven A package containing classes for applying Byte Buddy transformers within a Maven build. -
-
Uses of Plugin in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as Plugin Modifier and Type Field Description private Plugin
AgentBuilder.Transformer.ForBuildPlugin. plugin
The plugin to apply.Methods in net.bytebuddy.agent.builder with parameters of type Plugin Modifier and Type Method Description static AgentBuilder
AgentBuilder.Default. of(EntryPoint entryPoint, Plugin... plugin)
Creates anAgentBuilder
that realizes the provided build plugins.static AgentBuilder
AgentBuilder.Default. of(EntryPoint entryPoint, ClassFileVersion classFileVersion, Plugin... plugin)
Creates anAgentBuilder
that realizes the provided build plugins.static AgentBuilder
AgentBuilder.Default. of(Plugin... plugin)
Creates anAgentBuilder
that realizes the provided build plugins.static AgentBuilder
AgentBuilder.Default. of(ClassFileVersion classFileVersion, Plugin... plugin)
Creates anAgentBuilder
that realizes the provided build plugins.Method parameters in net.bytebuddy.agent.builder with type arguments of type Plugin Modifier and Type Method Description static AgentBuilder
AgentBuilder.Default. of(java.util.List<? extends Plugin> plugins)
Creates anAgentBuilder
that realizes the provided build plugins.static AgentBuilder
AgentBuilder.Default. of(EntryPoint entryPoint, java.util.List<? extends Plugin> plugins)
Creates anAgentBuilder
that realizes the provided build plugins.static AgentBuilder
AgentBuilder.Default. of(EntryPoint entryPoint, ClassFileVersion classFileVersion, java.util.List<? extends Plugin> plugins)
Creates anAgentBuilder
that realizes the provided build plugins.static AgentBuilder
AgentBuilder.Default. of(ClassFileVersion classFileVersion, java.util.List<? extends Plugin> plugins)
Creates anAgentBuilder
that realizes the provided build plugins.Constructors in net.bytebuddy.agent.builder with parameters of type Plugin Constructor Description ForBuildPlugin(Plugin plugin)
Creates a new transformer for a buildPlugin
. -
Uses of Plugin in net.bytebuddy.build
Subinterfaces of Plugin in net.bytebuddy.build Modifier and Type Interface Description static interface
Plugin.WithPreprocessor
A plugin that applies a preprocessor, i.e.Classes in net.bytebuddy.build that implement Plugin Modifier and Type Class Description class
CachedReturnPlugin
A plugin that caches the return value of a method in a synthetic field.class
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.static class
HashCodeAndEqualsPlugin.WithNonNullableFields
A version of theHashCodeAndEqualsPlugin
that assumes that all fields are non-nullable unless they are explicitly marked.static class
Plugin.ForElementMatcher
An abstract base for aPlugin
that matches types by a givenElementMatcher
.static class
Plugin.NoOp
A non-operational plugin that does not instrument any type.class
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.Fields in net.bytebuddy.build declared as Plugin Modifier and Type Field Description private Plugin
Plugin.Factory.Simple. plugin
The plugin to provide.Fields in net.bytebuddy.build with type parameters of type Plugin Modifier and Type Field Description private java.lang.reflect.Constructor<? extends Plugin>
Plugin.Factory.UsingReflection.Instantiator.Resolved. constructor
The represented constructor.private java.util.List<Plugin>
Plugin.Engine.Default.Preprocessor. plugins
The plugins to apply.private java.lang.Class<? extends Plugin>
Plugin.Factory.UsingReflection.Instantiator.Unresolved. type
The type for which no constructor was yet resolved.private java.lang.Class<? extends Plugin>
Plugin.Factory.UsingReflection. type
The plugin type.Methods in net.bytebuddy.build that return Plugin Modifier and Type Method Description Plugin
Plugin.Factory.UsingReflection.Instantiator. instantiate()
Instantiates the represented plugin.Plugin
Plugin.Factory.UsingReflection.Instantiator.Resolved. instantiate()
Instantiates the represented plugin.Plugin
Plugin.Factory.UsingReflection.Instantiator.Unresolved. instantiate()
Instantiates the represented plugin.Plugin
CachedReturnPlugin. make()
Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin
HashCodeAndEqualsPlugin. make()
Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin
Plugin.Factory. make()
Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin
Plugin.Factory.Simple. make()
Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin
Plugin.Factory.UsingReflection. make()
Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin
Plugin.NoOp. make()
Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin
ToStringPlugin. make()
Returns a plugin that can be used for a transformation and which is subsequently closed.Methods in net.bytebuddy.build with parameters of type Plugin Modifier and Type Method Description void
Plugin.Engine.ErrorHandler.Compound. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.ErrorHandler.Compound. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Invoked if an error occured during a plugin's application on a given type.void
Plugin.Engine.ErrorHandler.Enforcing. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.ErrorHandler.Enforcing. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Invoked if an error occured during a plugin's application on a given type.void
Plugin.Engine.ErrorHandler.Failing. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.ErrorHandler. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.ErrorHandler. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Invoked if an error occured during a plugin's application on a given type.void
Plugin.Engine.Listener.Adapter. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.Listener.Adapter. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Invoked if an error occured during a plugin's application on a given type.void
Plugin.Engine.Listener.Compound. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.Listener.Compound. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Invoked if an error occured during a plugin's application on a given type.void
Plugin.Engine.Listener.ForErrorHandler. onError(Plugin plugin, java.lang.Throwable throwable)
void
Plugin.Engine.Listener.ForErrorHandler. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
void
Plugin.Engine.Listener.NoOp. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.Listener.NoOp. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Invoked if an error occured during a plugin's application on a given type.void
Plugin.Engine.Listener.StreamWriting. onError(Plugin plugin, java.lang.Throwable throwable)
Invoked at the end of the build if a plugin could not be closed.void
Plugin.Engine.Listener.StreamWriting. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Invoked if an error occured during a plugin's application on a given type.void
Plugin.Engine.Listener.WithErrorsOnly. onError(Plugin plugin, java.lang.Throwable throwable)
void
Plugin.Engine.Listener.WithErrorsOnly. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
void
Plugin.Engine.Listener.WithTransformationsOnly. onError(Plugin plugin, java.lang.Throwable throwable)
void
Plugin.Engine.Listener.WithTransformationsOnly. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
void
Plugin.Engine.Listener.Adapter. onIgnored(TypeDescription typeDescription, Plugin plugin)
Invoked if a type description is ignored by a given plugin.void
Plugin.Engine.Listener.Compound. onIgnored(TypeDescription typeDescription, Plugin plugin)
Invoked if a type description is ignored by a given plugin.void
Plugin.Engine.Listener.NoOp. onIgnored(TypeDescription typeDescription, Plugin plugin)
Invoked if a type description is ignored by a given plugin.void
Plugin.Engine.Listener. onIgnored(TypeDescription typeDescription, Plugin plugin)
Invoked if a type description is ignored by a given plugin.void
Plugin.Engine.Listener.StreamWriting. onIgnored(TypeDescription typeDescription, Plugin plugin)
Invoked if a type description is ignored by a given plugin.void
Plugin.Engine.Listener.Adapter. onTransformation(TypeDescription typeDescription, Plugin plugin)
Invoked after a type was transformed using a specific plugin.void
Plugin.Engine.Listener.Compound. onTransformation(TypeDescription typeDescription, Plugin plugin)
Invoked after a type was transformed using a specific plugin.void
Plugin.Engine.Listener.NoOp. onTransformation(TypeDescription typeDescription, Plugin plugin)
Invoked after a type was transformed using a specific plugin.void
Plugin.Engine.Listener. onTransformation(TypeDescription typeDescription, Plugin plugin)
Invoked after a type was transformed using a specific plugin.void
Plugin.Engine.Listener.StreamWriting. onTransformation(TypeDescription typeDescription, Plugin plugin)
Invoked after a type was transformed using a specific plugin.void
Plugin.Engine.Listener.WithTransformationsOnly. onTransformation(TypeDescription typeDescription, Plugin plugin)
Method parameters in net.bytebuddy.build with type arguments of type Plugin Modifier and Type Method Description void
Plugin.Engine.Listener.Adapter. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked if one or more plugins did not transform a type.void
Plugin.Engine.Listener.Compound. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked if one or more plugins did not transform a type.void
Plugin.Engine.Listener.NoOp. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked if one or more plugins did not transform a type.void
Plugin.Engine.Listener. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked if one or more plugins did not transform a type.void
Plugin.Engine.Listener.Adapter. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked after a type was transformed using at least one plugin.void
Plugin.Engine.Listener.Compound. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked after a type was transformed using at least one plugin.void
Plugin.Engine.Listener.NoOp. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked after a type was transformed using at least one plugin.void
Plugin.Engine.Listener. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Invoked after a type was transformed using at least one plugin.void
Plugin.Engine.Listener.WithTransformationsOnly. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)
Constructors in net.bytebuddy.build with parameters of type Plugin Constructor Description Simple(Plugin plugin)
Creates a simple plugin factory.Constructor parameters in net.bytebuddy.build with type arguments of type Plugin Constructor Description Preprocessor(Plugin.Engine.Source.Element element, java.lang.String typeName, ClassFileLocator classFileLocator, TypePool typePool, Plugin.Engine.Listener listener, java.util.List<Plugin> plugins, java.util.List<Plugin.WithPreprocessor> preprocessors)
Creates a new preprocessor.Resolved(java.lang.reflect.Constructor<? extends Plugin> constructor, java.util.List<?> arguments)
Creates a new resolved constructor.Unresolved(java.lang.Class<? extends Plugin> type)
Creates a new unresolved constructor.UsingReflection(java.lang.Class<? extends Plugin> type)
Creates a plugin factory that uses reflection for creating a plugin.UsingReflection(java.lang.Class<? extends Plugin> type, java.util.List<Plugin.Factory.UsingReflection.ArgumentResolver> argumentResolvers)
Creates a plugin factory that uses reflection for creating a plugin. -
Uses of Plugin in net.bytebuddy.build.maven
Methods in net.bytebuddy.build.maven with parameters of type Plugin Modifier and Type Method Description void
ByteBuddyMojo.TransformationLogger. onError(Plugin plugin, java.lang.Throwable throwable)
void
ByteBuddyMojo.TransformationLogger. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)
Method parameters in net.bytebuddy.build.maven with type arguments of type Plugin Modifier and Type Method Description void
ByteBuddyMojo.TransformationLogger. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)
-