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(ClassVisitor classVisitor,
TypeDescription instrumentedType,
AnnotationValueFilter annotationValueFilter)
Applies this type attribute appender.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
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(ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter)
TypeAttributeAppender
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–2016. All rights reserved.