Class TypeAttributeAppender.Compound
- java.lang.Object
-
- net.bytebuddy.implementation.attribute.TypeAttributeAppender.Compound
-
- All Implemented Interfaces:
TypeAttributeAppender
- Enclosing interface:
- TypeAttributeAppender
public static class TypeAttributeAppender.Compound extends java.lang.Object implements TypeAttributeAppender
A compound type attribute appender that concatenates a number of other attribute appenders.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.attribute.TypeAttributeAppender
TypeAttributeAppender.Compound, TypeAttributeAppender.Explicit, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.NoOp
-
-
Constructor Summary
Constructors Constructor Description Compound(java.util.List<? extends TypeAttributeAppender> typeAttributeAppenders)Creates a new compound attribute appender.Compound(TypeAttributeAppender... typeAttributeAppender)Creates a new compound attribute appender.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter)Applies this type attribute appender.
-
-
-
Constructor Detail
-
Compound
public Compound(TypeAttributeAppender... typeAttributeAppender)
Creates a new compound attribute appender.- Parameters:
typeAttributeAppender- The type attribute appenders to concatenate in the order of their application.
-
Compound
public Compound(java.util.List<? extends TypeAttributeAppender> typeAttributeAppenders)
Creates a new compound attribute appender.- Parameters:
typeAttributeAppenders- The type attribute appenders to concatenate in the order of their application.
-
-
Method Detail
-
apply
public void apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter)Description copied from interface:TypeAttributeAppenderApplies this type attribute appender.- Specified by:
applyin interfaceTypeAttributeAppender- 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.
-
-