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 PluginAgentBuilder.Transformer.ForBuildPlugin. pluginThe plugin to apply.Methods in net.bytebuddy.agent.builder with parameters of type Plugin Modifier and Type Method Description static 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 AgentBuilderAgentBuilder.Default. of(Plugin... plugin)Creates 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 Plugin Modifier and Type Method Description static AgentBuilderAgentBuilder.Default. of(java.util.List<? extends Plugin> plugins)Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default. of(EntryPoint entryPoint, java.util.List<? extends Plugin> plugins)Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default. of(EntryPoint entryPoint, ClassFileVersion classFileVersion, java.util.List<? extends Plugin> plugins)Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default. of(ClassFileVersion classFileVersion, java.util.List<? extends Plugin> plugins)Creates anAgentBuilderthat 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 interfacePlugin.WithInitializationAllows for the generation of types before a plugin is applied.static interfacePlugin.WithPreprocessorA plugin that applies a preprocessor, i.e.Classes in net.bytebuddy.build that implement Plugin Modifier and Type Class Description classAccessControllerPluginA build tool plugin that instruments methods to dispatch to methodsjava.security.AccessControllerwith equal signature.classCachedReturnPluginA plugin that caches the return value of a method in a synthetic field.classDispatcherAnnotationPluginA plugin that adds aJavaDispatcher.Proxiedannotation to any method of an enhanced type where the annotation is not set.classHashCodeAndEqualsPluginA 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 classHashCodeAndEqualsPlugin.WithNonNullableFieldsA version of theHashCodeAndEqualsPluginthat assumes that all fields are non-nullable unless they are explicitly marked.classModuleVersionPluginA plugin that includes a version number in the declared module-info class.static classPlugin.ForElementMatcherAn abstract base for aPluginthat matches types by a givenElementMatcher.static classPlugin.NoOpA non-operational plugin that does not instrument any type.classRenamingPluginA plugin that replaces names that are discovered in class files.classRepeatedAnnotationPluginA plugin that allows for adding ajava.lang.annotation.Repeatableannotation even if compiled prior to Java 8 which introduces this annotation.classSafeVarargsPluginA plugin that allows for adding ajava.lang.SafeVarargsannotation even if compiled prior to Java 7 which introduces this annotation.classToStringPluginA 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 Plugin Modifier and Type Field Description private PluginPlugin.Factory.Simple. pluginThe 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. constructorThe represented constructor.private java.util.List<Plugin>Plugin.Engine.Default.Preprocessor. pluginsThe plugins to apply.private java.lang.Class<? extends Plugin>Plugin.Factory.UsingReflection.Instantiator.Unresolved. typeThe type for which no constructor was yet resolved.private java.lang.Class<? extends Plugin>Plugin.Factory.UsingReflection. typeThe plugin type.Methods in net.bytebuddy.build that return Plugin Modifier and Type Method Description PluginPlugin.Factory.UsingReflection.Instantiator.Ambiguous. instantiate()Instantiates the represented plugin.PluginPlugin.Factory.UsingReflection.Instantiator. instantiate()Instantiates the represented plugin.PluginPlugin.Factory.UsingReflection.Instantiator.Resolved. instantiate()Instantiates the represented plugin.PluginPlugin.Factory.UsingReflection.Instantiator.Unresolved. instantiate()Instantiates the represented plugin.PluginAccessControllerPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginCachedReturnPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginDispatcherAnnotationPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginHashCodeAndEqualsPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginModuleVersionPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginPlugin.Factory. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginPlugin.Factory.Simple. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginPlugin.Factory.UsingReflection. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginPlugin.NoOp. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginRenamingPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginRepeatedAnnotationPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginSafeVarargsPlugin. make()Returns a plugin that can be used for a transformation and which is subsequently closed.PluginToStringPlugin. 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 Plugin Modifier and Type Method Description protected java.lang.reflect.Constructor<? extends Plugin>Plugin.Factory.UsingReflection.Instantiator.Resolved. getConstructor()Returns the resolved constructor.Methods in net.bytebuddy.build with parameters of type Plugin Modifier and Type Method Description voidPlugin.Engine.ErrorHandler.Compound. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.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.voidPlugin.Engine.ErrorHandler.Enforcing. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.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.voidPlugin.Engine.ErrorHandler.Failing. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.Engine.ErrorHandler. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.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.voidPlugin.Engine.Listener.Adapter. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.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.voidPlugin.Engine.Listener.Compound. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.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.voidPlugin.Engine.Listener.ForErrorHandler. onError(Plugin plugin, java.lang.Throwable throwable)voidPlugin.Engine.Listener.ForErrorHandler. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)voidPlugin.Engine.Listener.NoOp. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.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.voidPlugin.Engine.Listener.StreamWriting. onError(Plugin plugin, java.lang.Throwable throwable)Invoked at the end of the build if a plugin could not be closed.voidPlugin.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.voidPlugin.Engine.Listener.WithErrorsOnly. onError(Plugin plugin, java.lang.Throwable throwable)voidPlugin.Engine.Listener.WithErrorsOnly. onError(TypeDescription typeDescription, Plugin plugin, java.lang.Throwable throwable)voidPlugin.Engine.Listener.WithTransformationsOnly. onError(Plugin plugin, java.lang.Throwable throwable)voidPlugin.Engine.Listener.WithTransformationsOnly. onError(TypeDescription typeDescription, Plugin plugin, java.lang.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 Plugin Modifier and Type Method Description voidPlugin.Engine.Listener.Adapter. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.Compound. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.NoOp. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener. onIgnored(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.Adapter. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.Compound. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.NoOp. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)Invoked after a type was transformed using at least one plugin.voidPlugin.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, ClassFileVersion classFileVersion, 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 voidByteBuddyMojo.TransformationLogger. onError(Plugin plugin, java.lang.Throwable throwable)voidByteBuddyMojo.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 voidByteBuddyMojo.TransformationLogger. onTransformation(TypeDescription typeDescription, java.util.List<Plugin> plugins)
-