Interface TypeAttributeAppender
-
- All Known Implementing Classes:
RepeatedAnnotationPlugin.RepeatedAnnotationAppender,TypeAttributeAppender.Compound,TypeAttributeAppender.Explicit,TypeAttributeAppender.ForInstrumentedType,TypeAttributeAppender.ForInstrumentedType.Differentiating,TypeAttributeAppender.NoOp
public interface TypeAttributeAppenderAn appender that writes attributes or annotations to a given ASMClassVisitor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypeAttributeAppender.CompoundA compound type attribute appender that concatenates a number of other attribute appenders.static classTypeAttributeAppender.ExplicitAn attribute appender that appends a single annotation to a given type.static classTypeAttributeAppender.ForInstrumentedTypeAn 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.static classTypeAttributeAppender.NoOpA type attribute appender that does not append any attributes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter)Applies this type attribute appender.
-
-
-
Method Detail
-
apply
void apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter)Applies this type attribute appender.- Parameters:
classVisitor- The class visitor to which the annotations of this visitor should be written to.instrumentedType- A description of the instrumented type that is target of the ongoing instrumentation.annotationValueFilter- The annotation value filter to apply when writing annotations.
-
-