public static class MethodAttributeAppender.Compound extends Object implements MethodAttributeAppender
MethodAttributeAppender.Compound, MethodAttributeAppender.Factory, MethodAttributeAppender.ForAnnotation, MethodAttributeAppender.ForInstrumentedMethod, MethodAttributeAppender.ForLoadedConstructor, MethodAttributeAppender.ForLoadedMethod, MethodAttributeAppender.NoOp
Constructor and Description |
---|
Compound(MethodAttributeAppender... methodAttributeAppender)
Creates a new compound method attribute appender.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(org.objectweb.asm.MethodVisitor methodVisitor,
MethodDescription methodDescription)
Applies this attribute appender to a given method visitor.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
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 void apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription)
MethodAttributeAppender
apply
in interface MethodAttributeAppender
methodVisitor
- 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.Copyright © 2014–2015. All rights reserved.