public interface MethodAttributeAppender
MethodVisitor
.Modifier and Type | Interface and Description |
---|---|
static class |
MethodAttributeAppender.Compound
A method attribute appender that combines several method attribute appenders to be represented as a single
method attribute appender.
|
static class |
MethodAttributeAppender.Explicit
Appends an annotation to a method or method parameter.
|
static interface |
MethodAttributeAppender.Factory
A factory that creates method attribute appenders for a given type.
|
static class |
MethodAttributeAppender.ForInstrumentedMethod
Implementation of a method attribute appender that writes all annotations of the instrumented method to the
method that is being created.
|
static class |
MethodAttributeAppender.ForReceiverType
A method attribute appender that writes a receiver type.
|
static class |
MethodAttributeAppender.NoOp
A method attribute appender that does not append any attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(org.objectweb.asm.MethodVisitor methodVisitor,
MethodDescription methodDescription,
AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given method visitor.
|
void apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter)
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.annotationValueFilter
- The annotation value filter to apply when the annotations are written.Copyright © 2014–2018. All rights reserved.