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
A visitor that adds attributes to a class member.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A visitor that adds attributes to a field.static class
A visitor that adds attributes to a method. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnnotationValueFilter.Factory
The annotation value filter factory to apply.protected final T
The attribute appender factory to use. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MemberAttributeExtension
(AnnotationValueFilter.Factory annotationValueFilterFactory, T attributeAppenderFactory) Creates a new member attribute extension. -
Method Summary
-
Field Details
-
annotationValueFilterFactory
The annotation value filter factory to apply. -
attributeAppenderFactory
The attribute appender factory to use.
-
-
Constructor Details
-
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.
-