| Modifier and Type | Field and Description |
|---|---|
| public String | desc
The class descriptor of the annotation class. |
| public List | values
The name value pairs of this annotation. |
| Access | Constructor and Description |
|---|---|
| public | AnnotationNode(final String
the class descriptor of the annotation class. descriptor)Constructs a new |
| public | AnnotationNode(final int
the ASM API version implemented by this visitor. Must be one of the api, final String ASMx values in Opcodes.the class descriptor of the annotation class. descriptor)Constructs a new |
| pack-priv | AnnotationNode(final List<Object>
where the visited values must be stored. values)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final AnnotationVisitor
an annotation visitor. Maybe null. annotationVisitor)Makes the given visitor visit this annotation. |
| pack-priv static void | accept(final AnnotationVisitor
an annotation visitor. Maybe null. annotationVisitor, final String the value name. name, final Object the actual value. value)Makes the given visitor visit a given annotation value. |
| public void | |
| public void | visit(final String
the value name. name, final Object the actual value, whose type must be value)Byte, Boolean, Character, Short, Integer , Long, Float, Double,
String or Type of Type#OBJECT or Type#ARRAY sort. This
value can also be an array of byte, boolean, short, char, int, long, float or double values
(this is equivalent to using visitArray and visiting each array element in turn,
but is more convenient).Overrides org. |
| public AnnotationVisitor | visitAnnotation(final String
the value name. name, final String the class descriptor of the nested annotation class. descriptor)Overrides org. |
| public AnnotationVisitor | visitArray(final String
the value name. name)
Visits an array value of the annotation.
|
| public void | |
| public void |
| desc | back to summary |
|---|---|
| public String desc The class descriptor of the annotation class. | |
| values | back to summary |
|---|---|
| public List<Object> values The name value pairs of this annotation. Each name value pair is stored as two consecutive
elements in the list. The name is a | |
| AnnotationNode | back to summary |
|---|---|
| public AnnotationNode(final String descriptor) Constructs a new
| |
| AnnotationNode | back to summary |
|---|---|
| public AnnotationNode(final int api, final String descriptor) Constructs a new | |
| AnnotationNode | back to summary |
|---|---|
| pack-priv AnnotationNode(final List<Object> values) Constructs a new | |
| accept | back to summary |
|---|---|
| public void accept(final AnnotationVisitor annotationVisitor) Makes the given visitor visit this annotation.
| |
| accept | back to summary |
|---|---|
| pack-priv static void accept(final AnnotationVisitor annotationVisitor, final String name, final Object value) Makes the given visitor visit a given annotation value.
| |
| check | back to summary |
|---|---|
| public void check(final int api) Checks that this annotation node is compatible with the given ASM API version. This method checks that this node, and all its children recursively, do not contain elements that were introduced in more recent versions of the ASM API than the given version.
| |
| visit | back to summary |
|---|---|
| public void visit(final String name, final Object value) Overrides org. Doc from org. Visits a primitive value of the annotation.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(final String name, final String descriptor) Overrides org. Doc from org. Visits a nested annotation value of the annotation.
| |
| visitArray | back to summary |
|---|---|
| public AnnotationVisitor visitArray(final String name) Overrides org. Doc from org. Visits an array value of the annotation. Note that arrays of primitive values (such as byte,
boolean, short, char, int, long, float or double) can be passed as value to
| |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() Overrides org. Doc from org. Visits the end of the annotation.
| |
| visitEnum | back to summary |
|---|---|
| public void visitEnum(final String name, final String descriptor, final String value) Overrides org. Doc from org. Visits an enumeration value of the annotation. | |