| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | visit(String
the value name. name, 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. Visits a primitive value of the annotation. |
| public AnnotationVisitor | visitAnnotation(String
the value name. name, String the class descriptor of the nested annotation class. desc)Overrides org. Visits a nested annotation value of the annotation. |
| public AnnotationVisitor | visitArray(String
the value name. name)Overrides org. Visits an array value of the annotation. |
| public void | |
| public void | visitEnum(String
the value name. name, String the class descriptor of the enumeration class. desc, String the actual enumeration value. value)Overrides org. Visits an enumeration value of the annotation. |
| RestrictiveAnnotationVisitor | back to summary |
|---|---|
| public RestrictiveAnnotationVisitor() | |
| visit | back to summary |
|---|---|
| public void visit(String name, Object value) Overrides org. Doc from org. Visits a primitive value of the annotation.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(String name, String desc) Overrides org. Doc from org. Visits a nested annotation value of the annotation.
a visitor to visit the actual nested annotation value, or null if this visitor is not interested in visiting this nested annotation. The nested annotation value must be fully visited before calling other methods on this annotation visitor. | |
| visitArray | back to summary |
|---|---|
| public AnnotationVisitor visitArray(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(String name, String desc, String value) Overrides org. Doc from org. Visits an enumeration value of the annotation. | |