public interface AnnotationAppender
Modifier and Type | Interface and Description |
---|---|
static class |
AnnotationAppender.Default
A default implementation for an annotation appender that writes annotations to a given byte consumer
represented by an ASM
AnnotationVisitor . |
static class |
AnnotationAppender.ForTypeAnnotations
A type visitor that visits all type annotations of a generic type and writes any discovered annotation to a
supplied
AnnotationAppender . |
static interface |
AnnotationAppender.Target
Represents a target for an annotation writing process.
|
Modifier and Type | Field and Description |
---|---|
static String |
NO_NAME
A constant for informing ASM over ignoring a given name.
|
Modifier and Type | Method and Description |
---|---|
AnnotationAppender |
append(AnnotationDescription annotationDescription,
AnnotationValueFilter annotationValueFilter)
Writes the given annotation to the target that this appender represents.
|
AnnotationAppender |
append(AnnotationDescription annotationDescription,
AnnotationValueFilter annotationValueFilter,
int typeReference,
String typePath)
Writes the given type annotation to the target that this appender represents.
|
static final String NO_NAME
AnnotationAppender append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter)
annotationDescription
- The annotation to be written.annotationValueFilter
- The annotation value filter to use.this
or any other annotation appender capable of writing another annotation to the specified target.AnnotationAppender append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, String typePath)
annotationDescription
- The annotation to be written.annotationValueFilter
- The annotation value filter to use.typeReference
- The type variable's type reference.typePath
- The type variable's type path.this
or any other annotation appender capable of writing another annotation to the specified target.Copyright © 2014–2016. All rights reserved.