Package net.bytebuddy.asm
Class MemberAttributeExtension<T>
- java.lang.Object
-
- net.bytebuddy.asm.MemberAttributeExtension<T>
-
- Type Parameters:
T- The type of the attribute appender factory.
- Direct Known Subclasses:
MemberAttributeExtension.ForField,MemberAttributeExtension.ForMethod
@Enhance public abstract class MemberAttributeExtension<T> extends java.lang.Object
A visitor that adds attributes to a class member.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMemberAttributeExtension.ForFieldA visitor that adds attributes to a field.static classMemberAttributeExtension.ForMethodA visitor that adds attributes to a method.
-
Field Summary
Fields Modifier and Type Field Description protected AnnotationValueFilter.FactoryannotationValueFilterFactoryThe annotation value filter factory to apply.protected TattributeAppenderFactoryThe attribute appender factory to use.
-
Constructor Summary
Constructors Modifier Constructor Description protectedMemberAttributeExtension(AnnotationValueFilter.Factory annotationValueFilterFactory, T attributeAppenderFactory)Creates a new member attribute extension.
-
-
-
Field Detail
-
annotationValueFilterFactory
protected final AnnotationValueFilter.Factory annotationValueFilterFactory
The annotation value filter factory to apply.
-
attributeAppenderFactory
protected final T attributeAppenderFactory
The attribute appender factory to use.
-
-
Constructor Detail
-
MemberAttributeExtension
protected MemberAttributeExtension(AnnotationValueFilter.Factory annotationValueFilterFactory, T attributeAppenderFactory)
Creates a new member attribute extension.- Parameters:
annotationValueFilterFactory- The annotation value filter factory to apply.attributeAppenderFactory- The attribute appender factory to use.
-
-