public interface AnnotationAppender
Modifier and Type | Interface and Description |
---|---|
static class |
AnnotationAppender.AnnotationVisibility
Determines if an annotation should be written to a specified target and if the annotation should be marked
as being visible at runtime.
|
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 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 annotation,
AnnotationAppender.AnnotationVisibility annotationVisibility)
Terminally writes the given annotation to the specified target.
|
static final String NO_NAME
AnnotationAppender append(AnnotationDescription annotation, AnnotationAppender.AnnotationVisibility annotationVisibility)
annotation
- The annotation to be written.annotationVisibility
- Determines the annotation visibility for the given annotation.this
or any other annotation appender capable of writing another annotation to
the specified target.Copyright © 2014–2015. All rights reserved.