@HashCodeAndEqualsPlugin.Enhance public static class MethodAttributeAppender.Compound extends Object implements MethodAttributeAppender
MethodAttributeAppender.Compound, MethodAttributeAppender.Explicit, MethodAttributeAppender.Factory, MethodAttributeAppender.ForInstrumentedMethod, MethodAttributeAppender.ForReceiverType, MethodAttributeAppender.NoOp| Constructor and Description |
|---|
Compound(List<? extends MethodAttributeAppender> methodAttributeAppenders)
Creates a new compound method attribute appender.
|
Compound(MethodAttributeAppender... methodAttributeAppender)
Creates a new compound method attribute appender.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MethodVisitor methodVisitor,
MethodDescription methodDescription,
AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given method visitor.
|
public Compound(MethodAttributeAppender... methodAttributeAppender)
methodAttributeAppender - The method attribute appenders that are to be combined by this compound appender
in the order of their application.public Compound(List<? extends MethodAttributeAppender> methodAttributeAppenders)
methodAttributeAppenders - The method attribute appenders that are to be combined by this compound appender
in the order of their application.public void apply(MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter)
apply in interface MethodAttributeAppendermethodVisitor - The method visitor to which the attributes that are represented by this attribute
appender are written to.methodDescription - The description of the method for which the given method visitor creates an
instrumentation for.annotationValueFilter - The annotation value filter to apply when the annotations are written.Copyright © 2014–2023. All rights reserved.