Uses of Interface
net.bytebuddy.build.Plugin
Packages that use Plugin
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
A package for types that allow for applying Byte Buddy transformation during a build process.
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 PluginModifier and TypeFieldDescriptionprivate final PluginAgentBuilder.Transformer.ForBuildPlugin.pluginThe plugin to apply.Methods in net.bytebuddy.agent.builder with parameters of type PluginModifier and TypeMethodDescriptionstatic AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, Plugin... plugin) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, ClassFileVersion classFileVersion, Plugin... plugin) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderCreates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(ClassFileVersion classFileVersion, Plugin... plugin) Creates anAgentBuilderthat realizes the provided build plugins.Method parameters in net.bytebuddy.agent.builder with type arguments of type PluginModifier and TypeMethodDescriptionstatic AgentBuilderCreates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, List<? extends Plugin> plugins) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, ClassFileVersion classFileVersion, List<? extends Plugin> plugins) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(ClassFileVersion classFileVersion, List<? extends Plugin> plugins) Creates anAgentBuilderthat realizes the provided build plugins.Constructors in net.bytebuddy.agent.builder with parameters of type PluginModifierConstructorDescriptionForBuildPlugin(Plugin plugin) Creates a new transformer for a buildPlugin. -
Uses of Plugin in net.bytebuddy.build
Subinterfaces of Plugin in net.bytebuddy.buildModifier and TypeInterfaceDescriptionstatic interfaceAllows for the generation of types before a plugin is applied.static interfaceA plugin that applies a preprocessor, i.e.Classes in net.bytebuddy.build that implement PluginModifier and TypeClassDescriptionclassA build tool plugin that instruments methods to dispatch to methodsjava.security.AccessControllerwith equal signature.classA plugin that caches the return value of a method in a synthetic field.classA plugin that adds aJavaDispatcher.Proxiedannotation to any method of an enhanced type where the annotation is not set.classA build tool plugin that addsObject.hashCode()andObject.equals(Object)methods to a class if theHashCodeAndEqualsPlugin.Enhanceannotation is present and no explicit method declaration was added.static classA version of theHashCodeAndEqualsPluginthat assumes that all fields are non-nullable unless they are explicitly marked.classA plugin that includes a version number in the declared module-info class.static classAn abstract base for aPluginthat matches types by a givenElementMatcher.static classA non-operational plugin that does not instrument any type.classA plugin that replaces names that are discovered in class files.classA plugin that allows for adding ajava.lang.annotation.Repeatableannotation even if compiled prior to Java 8 which introduces this annotation.classA plugin that allows for adding ajava.lang.SafeVarargsannotation even if compiled prior to Java 7 which introduces this annotation.classA build tool plugin that adds aObject.toString()and method to a class if theToStringPlugin.Enhanceannotation is present and no explicit method declaration was added.Fields in net.bytebuddy.build declared as PluginModifier and TypeFieldDescriptionprivate final PluginPlugin.Factory.Simple.pluginThe plugin to provide.Fields in net.bytebuddy.build with type parameters of type PluginModifier and TypeFieldDescriptionprivate final Constructor<? extends Plugin> Plugin.Factory.UsingReflection.Instantiator.Resolved.constructorThe represented constructor.Plugin.Engine.Default.Preprocessor.pluginsThe plugins to apply.Plugin.Factory.UsingReflection.Instantiator.Unresolved.typeThe type for which no constructor was yet resolved.Plugin.Factory.UsingReflection.typeThe plugin type.Methods in net.bytebuddy.build that return PluginModifier and TypeMethodDescriptionPlugin.Factory.UsingReflection.Instantiator.Ambiguous.instantiate()Instantiates the represented plugin.Plugin.Factory.UsingReflection.Instantiator.instantiate()Instantiates the represented plugin.Plugin.Factory.UsingReflection.Instantiator.Resolved.instantiate()Instantiates the represented plugin.Plugin.Factory.UsingReflection.Instantiator.Unresolved.instantiate()Instantiates the represented plugin.AccessControllerPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.CachedReturnPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.DispatcherAnnotationPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.HashCodeAndEqualsPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.ModuleVersionPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin.Factory.make()Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin.Factory.Simple.make()Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin.Factory.UsingReflection.make()Returns a plugin that can be used for a transformation and which is subsequently closed.Plugin.NoOp.make()Returns a plugin that can be used for a transformation and which is subsequently closed.RenamingPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.RepeatedAnnotationPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.SafeVarargsPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.ToStringPlugin.make()Returns a plugin that can be used for a transformation and which is subsequently closed.Methods in net.bytebuddy.build that return types with arguments of type PluginModifier and TypeMethodDescriptionprotected Constructor<? extends Plugin> Plugin.Factory.UsingReflection.Instantiator.Resolved.getConstructor()Returns the resolved constructor.Methods in net.bytebuddy.build with parameters of type PluginModifier and TypeMethodDescriptionvoidInvoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.ErrorHandler.Compound.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidInvoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.ErrorHandler.Enforcing.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidInvoked at the end of the build if a plugin could not be closed.voidInvoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.ErrorHandler.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidInvoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.Listener.Adapter.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidInvoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.Listener.Compound.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidvoidPlugin.Engine.Listener.ForErrorHandler.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) voidInvoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.Listener.NoOp.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidInvoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.Listener.StreamWriting.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidvoidPlugin.Engine.Listener.WithErrorsOnly.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) voidvoidPlugin.Engine.Listener.WithTransformationsOnly.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) voidPlugin.Engine.Listener.Adapter.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.Compound.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.NoOp.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.StreamWriting.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.Adapter.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.Compound.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.NoOp.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.StreamWriting.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription, Plugin plugin) Method parameters in net.bytebuddy.build with type arguments of type PluginModifier and TypeMethodDescriptionvoidPlugin.Engine.Listener.Adapter.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.Compound.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.NoOp.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.Adapter.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.Compound.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.NoOp.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Constructors in net.bytebuddy.build with parameters of type PluginConstructor parameters in net.bytebuddy.build with type arguments of type PluginModifierConstructorDescriptionprivatePreprocessor(Plugin.Engine.Source.Element element, String typeName, ClassFileLocator classFileLocator, ClassFileVersion classFileVersion, TypePool typePool, Plugin.Engine.Listener listener, List<Plugin> plugins, List<Plugin.WithPreprocessor> preprocessors) Creates a new preprocessor.protectedResolved(Constructor<? extends Plugin> constructor, List<?> arguments) Creates a new resolved constructor.protectedUnresolved(Class<? extends Plugin> type) Creates a new unresolved constructor.UsingReflection(Class<? extends Plugin> type) Creates a plugin factory that uses reflection for creating a plugin.protectedUsingReflection(Class<? extends Plugin> type, 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 PluginModifier and TypeMethodDescriptionvoidvoidByteBuddyMojo.TransformationLogger.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Method parameters in net.bytebuddy.build.maven with type arguments of type PluginModifier and TypeMethodDescriptionvoidByteBuddyMojo.TransformationLogger.onTransformation(TypeDescription typeDescription, List<Plugin> plugins)