protected static class MethodAttributeAppender.ForInstrumentedMethod.Appender extends Object implements MethodAttributeAppender
MethodAttributeAppender.Compound, MethodAttributeAppender.Factory, MethodAttributeAppender.ForAnnotation, MethodAttributeAppender.ForInstrumentedMethod, MethodAttributeAppender.ForMethod, MethodAttributeAppender.NoOp| Modifier | Constructor and Description |
|---|---|
protected |
Appender(TypeDescription instrumentedType,
AnnotationAppender.ValueFilter valueFilter)
Creates a new appender.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MethodVisitor methodVisitor,
MethodDescription methodDescription)
Applies this attribute appender to a given method visitor.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
protected Appender(TypeDescription instrumentedType, AnnotationAppender.ValueFilter valueFilter)
instrumentedType - The instrumented type.valueFilter - The value filter to apply for discovering which values of an annotation should be written.public void apply(MethodVisitor methodVisitor, MethodDescription methodDescription)
MethodAttributeAppenderapply 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.Copyright © 2014–2015. All rights reserved.