public static class MethodAttributeAppender.ForInstrumentedMethod extends Object implements MethodAttributeAppender.Factory
Modifier and Type | Class and Description |
---|---|
protected static class |
MethodAttributeAppender.ForInstrumentedMethod.Appender
An appender for an instrumented method that only appends the intercepted method's annotations if it is not already declared by the
instrumented type, i.e.
|
MethodAttributeAppender.Factory.Compound
Constructor and Description |
---|
ForInstrumentedMethod(AnnotationAppender.ValueFilter valueFilter)
Creates a new appender for appending the instrumented method's annotation to the created method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
MethodAttributeAppender |
make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description.
|
String |
toString() |
public ForInstrumentedMethod(AnnotationAppender.ValueFilter valueFilter)
valueFilter
- The value filter to apply for discovering which values of an annotation should be written.public MethodAttributeAppender make(TypeDescription typeDescription)
MethodAttributeAppender.Factory
make
in interface MethodAttributeAppender.Factory
typeDescription
- The type for which a method attribute appender is to be applied for.Copyright © 2014–2015. All rights reserved.