@HashCodeAndEqualsPlugin.Enhance public static class TypeAttributeAppender.Compound extends Object implements TypeAttributeAppender
TypeAttributeAppender.Compound, TypeAttributeAppender.Explicit, TypeAttributeAppender.ForInstrumentedType, TypeAttributeAppender.NoOp
Constructor and Description |
---|
Compound(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.
|
public Compound(TypeAttributeAppender... typeAttributeAppender)
typeAttributeAppender
- The type attribute appenders to concatenate in the order of their application.public Compound(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 TypeAttributeAppender
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.Copyright © 2014–2021. All rights reserved.