@HashCodeAndEqualsPlugin.Enhance public static class TypeAttributeAppender.Compound extends java.lang.Object implements TypeAttributeAppender
TypeAttributeAppender.Compound, TypeAttributeAppender.Explicit, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.NoOp| Modifier and Type | Field and Description |
|---|---|
private java.util.List<TypeAttributeAppender> |
typeAttributeAppenders
The type attribute appenders this compound appender represents in their application order.
|
| Constructor and Description |
|---|
Compound(java.util.List<? extends TypeAttributeAppender> typeAttributeAppenders)
Creates a new compound attribute appender.
|
Compound(TypeAttributeAppender... typeAttributeAppender)
Creates a new compound attribute appender.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.objectweb.asm.ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
Applies this type attribute appender.
|
private final java.util.List<TypeAttributeAppender> typeAttributeAppenders
public Compound(TypeAttributeAppender... typeAttributeAppender)
typeAttributeAppender - The type attribute appenders to concatenate in the order of their application.public Compound(java.util.List<? extends TypeAttributeAppender> typeAttributeAppenders)
typeAttributeAppenders - The type attribute appenders to concatenate in the order of their application.public void apply(org.objectweb.asm.ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
apply in interface TypeAttributeAppenderclassVisitor - 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.