public interface TypeAttributeAppender
ClassVisitor
.Modifier and Type | Interface and Description |
---|---|
static class |
TypeAttributeAppender.Compound
A compound type attribute appender that concatenates a number of other attribute appenders.
|
static class |
TypeAttributeAppender.ForAnnotation
An attribute appender that appends a single annotation to a given type.
|
static class |
TypeAttributeAppender.ForSuperType
An attribute appender that writes all annotations that are found on a given target type to the
instrumented type this type attribute appender is applied onto.
|
static class |
TypeAttributeAppender.ForType
Writes all annotations that are declared for a given Java type to the target type.
|
static class |
TypeAttributeAppender.NoOp
A type attribute appender that does not append any attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(org.objectweb.asm.ClassVisitor classVisitor,
TypeDescription typeDescription)
Applies this type attribute appender.
|
void apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription typeDescription)
classVisitor
- The class visitor to which the annotations of this visitor should be written to.typeDescription
- A description of the instrumented type that is target of the ongoing instrumentation.Copyright © 2014–2015. All rights reserved.