Top Description Interfaces Enums
[default module]

Package net.bytebuddy.implementation.attribute

Annotations
@ByDefault
Imports
net.bytebuddy.utility.nullability.NeverNull

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 java.lang.annotation.Annotation interface.

Interface Summary

Modifier and TypeInterface and Description
public interface
AnnotationAppender

Annotation appenders are capable of writing annotations to a specified target.

public interface
AnnotationValueFilter

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.

public interface
FieldAttributeAppender

An appender that writes attributes or annotations to a given ASM net.bytebuddy.jar.asm.FieldVisitor.

public interface
MethodAttributeAppender

An appender that writes attributes or annotations to a given ASM net.bytebuddy.jar.asm.MethodVisitor.

public interface
RecordComponentAttributeAppender

An appender that writes attributes or annotations to a given ASM RecordComponentVisitor.

public interface
TypeAttributeAppender

An appender that writes attributes or annotations to a given ASM net.bytebuddy.jar.asm.ClassVisitor.

Enum Summary

Modifier and TypeEnum and Description
public enum
AnnotationRetention

An annotation retention strategy decides if annotations that are contained within a class file are preserved upon redefining or rebasing a method.