Uses of Interface
net.bytebuddy.implementation.attribute.MethodAttributeAppender.Factory
Packages that use MethodAttributeAppender.Factory
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
A package for types that allow for applying Byte Buddy transformation during a build process.
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType
by
creating a subclass of a given type.All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
-
Uses of MethodAttributeAppender.Factory in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type MethodAttributeAppender.FactoryModifier and TypeMethodDescriptionMemberAttributeExtension.ForMethod.attribute
(MethodAttributeAppender.Factory attributeAppenderFactory) Appends the supplied method attribute appender factory.Constructors in net.bytebuddy.asm with parameters of type MethodAttributeAppender.FactoryModifierConstructorDescriptionprotected
ForMethod
(AnnotationValueFilter.Factory annotationValueFilterFactory, MethodAttributeAppender.Factory attributeAppenderFactory) Creates a method attribute extension. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.build
Classes in net.bytebuddy.build that implement MethodAttributeAppender.FactoryModifier and TypeClassDescriptionclass
A plugin that adds anHashCodeAndEqualsPlugin.Enhance
annotation to any method of an enhanced type where the annotation is not set.class
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
A version of theHashCodeAndEqualsPlugin
that assumes that all fields are non-nullable unless they are explicitly marked. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as MethodAttributeAppender.FactoryModifier and TypeFieldDescriptionprotected final MethodAttributeAppender.Factory
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.methodAttributeAppenderFactory
The method attribute appender factory to apply onto the method that is currently being implemented.Methods in net.bytebuddy.dynamic with parameters of type MethodAttributeAppender.FactoryModifier and TypeMethodDescriptionDynamicType.Builder.MethodDefinition.AbstractBase.Adapter.attribute
(MethodAttributeAppender.Factory methodAttributeAppenderFactory) Applies the supplied method attribute appender factory onto the previously defined or matched method.DynamicType.Builder.MethodDefinition.attribute
(MethodAttributeAppender.Factory methodAttributeAppenderFactory) Applies the supplied method attribute appender factory onto the previously defined or matched method.protected DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.materialize
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) protected DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.materialize
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) protected abstract DynamicType.Builder.MethodDefinition<V>
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.materialize
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Materializes the current builder as a method definition.Constructors in net.bytebuddy.dynamic with parameters of type MethodAttributeAppender.FactoryModifierConstructorDescriptionprotected
Adapter
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new adapter for a method definition.protected
AnnotationAdapter
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new annotation adapter.protected
AnnotationAdapter
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new annotation adapter. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as MethodAttributeAppender.FactoryModifier and TypeFieldDescriptionprivate final MethodAttributeAppender.Factory
MethodRegistry.Default.Entry.attributeAppenderFactory
A method attribute appender factory to apply to all entries.private final MethodAttributeAppender.Factory
MethodRegistry.Default.Prepared.Entry.attributeAppenderFactory
A attribute appender factory for appending attributes for any implemented method.Methods in net.bytebuddy.dynamic.scaffold that return MethodAttributeAppender.FactoryModifier and TypeMethodDescriptionprotected MethodAttributeAppender.Factory
MethodRegistry.Default.Prepared.Entry.getAppenderFactory()
Returns this entry's attribute appender factory.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodAttributeAppender.FactoryModifier and TypeMethodDescriptionMethodRegistry.append
(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.MethodRegistry.Default.append
(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.MethodRegistry.Default.prepend
(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.MethodRegistry.prepend
(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type MethodAttributeAppender.FactoryModifierConstructorDescriptionprotected
Entry
(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new entry.protected
Entry
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, MethodDescription methodDescription, Set<MethodDescription.TypeToken> typeTokens, Visibility visibility, boolean bridgeMethod) Creates a new prepared entry. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.dynamic.scaffold.subclass
Fields in net.bytebuddy.dynamic.scaffold.subclass declared as MethodAttributeAppender.FactoryModifier and TypeFieldDescriptionprivate final MethodAttributeAppender.Factory
ConstructorStrategy.Default.WithMethodAttributeAppenderFactory.methodAttributeAppenderFactory
The method attribute appender factory to apply.private final MethodAttributeAppender.Factory
ConstructorStrategy.ForDefaultConstructor.methodAttributeAppenderFactory
The method attribute appender factory to apply.Methods in net.bytebuddy.dynamic.scaffold.subclass with parameters of type MethodAttributeAppender.FactoryModifier and TypeMethodDescriptionprotected abstract MethodRegistry
ConstructorStrategy.Default.doInject
(MethodRegistry methodRegistry, MethodAttributeAppender.Factory methodAttributeAppenderFactory) Applies the actual injection with a method attribute appender factory supplied.ConstructorStrategy.Default.with
(MethodAttributeAppender.Factory methodAttributeAppenderFactory) Returns a constructor strategy that supplies the supplied method attribute appender factory.Constructors in net.bytebuddy.dynamic.scaffold.subclass with parameters of type MethodAttributeAppender.FactoryModifierConstructorDescriptionForDefaultConstructor
(MethodAttributeAppender.Factory methodAttributeAppenderFactory) Creates a constructor strategy for invoking a super constructor with default arguments.ForDefaultConstructor
(ElementMatcher<? super MethodDescription> elementMatcher, MethodAttributeAppender.Factory methodAttributeAppenderFactory) Creates a constructor strategy for invoking a super constructor with default arguments.protected
WithMethodAttributeAppenderFactory
(ConstructorStrategy.Default delegate, MethodAttributeAppender.Factory methodAttributeAppenderFactory) Creates a new wrapper for a default constructor strategy. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.implementation.attribute
Classes in net.bytebuddy.implementation.attribute that implement MethodAttributeAppender.FactoryModifier and TypeClassDescriptionstatic class
Appends an annotation to a method or method parameter.static class
A method attribute appender factory that combines several method attribute appender factories to be represented as a single factory.static enum
Implementation of a method attribute appender that writes all annotations of the instrumented method to the method that is being created.static class
A method attribute appender that writes a receiver type.static enum
A method attribute appender that does not append any attributes.Fields in net.bytebuddy.implementation.attribute with type parameters of type MethodAttributeAppender.FactoryModifier and TypeFieldDescriptionprivate final List<MethodAttributeAppender.Factory>
MethodAttributeAppender.Factory.Compound.factories
The factories this compound factory represents in their application order.Methods in net.bytebuddy.implementation.attribute that return MethodAttributeAppender.FactoryModifier and TypeMethodDescriptionMethodAttributeAppender.Explicit.of
(MethodDescription methodDescription) Creates a method attribute appender factory that writes all annotations of a given method, both the method annotations themselves and all annotations that are defined for every parameter.MethodAttributeAppender.Explicit.ofMethodAnnotations
(MethodDescription methodDescription) Creates a method attribute appender factory that writes all method annotations that are defined on the given method.MethodAttributeAppender.Explicit.ofParameterAnnotations
(MethodDescription methodDescription) Creates a method attribute appender factory that writes all annotations that are defined for every parameter of the given method.Constructors in net.bytebuddy.implementation.attribute with parameters of type MethodAttributeAppender.FactoryModifierConstructorDescriptionCompound
(MethodAttributeAppender.Factory... factory) Creates a new compound method attribute appender factory.Constructor parameters in net.bytebuddy.implementation.attribute with type arguments of type MethodAttributeAppender.FactoryModifierConstructorDescriptionCompound
(List<? extends MethodAttributeAppender.Factory> factories) Creates a new compound method attribute appender factory.