Package net.bytebuddy.implementation.attribute
@ByDefault
package net.bytebuddy.implementation.attribute
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e. fields, types and byte code methods. A common Java attribute is a Java annotation which are represented by
the
Annotation
interface.-
ClassDescriptionAnnotation appenders are capable of writing annotations to a specified target.A default implementation for an annotation appender that writes annotations to a given byte consumer represented by an ASM
AnnotationVisitor
.A type visitor that visits all type annotations of a generic type and writes any discovered annotation to a suppliedAnnotationAppender
.Represents a target for an annotation writing process.Target for an annotation that is written to a Java field.Target for an annotation that is written to a Java method or constructor.Target for an annotation that is written to a Java method or constructor parameter.Target for an annotation that is written to a Java record component.Target for an annotation that is written to a Java type.An annotation retention strategy decides if annotations that are contained within a class file are preserved upon redefining or rebasing a method.An annotation value filter is responsible for determining which values should be skipped and rather be represented as an annotation type's default values when writing an annotation to a class file.A default implementation of an annotation value filter that applies the same strategy for any type, field or method.A factory for creating an annotation value filter for an annotation's target.An appender that writes attributes or annotations to a given ASMFieldVisitor
.A field attribute appender that combines several method attribute appenders to be represented as a single field attribute appender.Appends an annotation to a field.A factory that creates field attribute appenders for a given type.A field attribute appender factory that combines several field attribute appender factories to be represented as a single factory.An attribute appender that writes all annotations that are declared on a field.A field attribute appender that does not append any attributes.An appender that writes attributes or annotations to a given ASMMethodVisitor
.A method attribute appender that combines several method attribute appenders to be represented as a single method attribute appender.Appends an annotation to a method or method parameter.Represents the target on which this method attribute appender should write its annotations to.A method attribute appender target for writing annotations directly onto the method.A method attribute appender target for writing annotations onto a given method parameter.A factory that creates method attribute appenders for a given type.A method attribute appender factory that combines several method attribute appender factories to be represented as a single factory.Implementation of a method attribute appender that writes all annotations of the instrumented method to the method that is being created.A method attribute appender that writes a receiver type.A method attribute appender that does not append any attributes.An appender that writes attributes or annotations to a given ASMRecordComponentVisitor
.A record component attribute appender that combines several method attribute appenders to be represented as a single record component attribute appender.Appends an annotation to a record component.A factory that creates record component attribute appenders for a given type.A record component attribute appender factory that combines several record component attribute appender factories to be represented as a single factory.An attribute appender that writes all annotations that are declared on a record component.A record component attribute appender that does not append any attributes.An appender that writes attributes or annotations to a given ASMClassVisitor
.A compound type attribute appender that concatenates a number of other attribute appenders.An attribute appender that appends a single annotation to a given type.An attribute appender that writes all annotations that are found on a given target type to the instrumented type this type attribute appender is applied onto.A type attribute appender that writes all annotations of the instrumented but excludes annotations up to a given index.A type attribute appender that does not append any attributes.