class RecursiveAnnotationArrayVisitor extends AbstractRecursiveAnnotationVisitor
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<AnnotationAttributes> |
allNestedAttributes |
private java.lang.String |
attributeName |
attributes, classLoader, loggerapi, av| Constructor and Description |
|---|
RecursiveAnnotationArrayVisitor(java.lang.String attributeName,
AnnotationAttributes attributes,
java.lang.ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(java.lang.String attributeName,
java.lang.Object attributeValue)
Visits a primitive value of the annotation.
|
AnnotationVisitor |
visitAnnotation(java.lang.String attributeName,
java.lang.String asmTypeDescriptor)
Visits a nested annotation value of the annotation.
|
void |
visitEnd()
Visits the end of the annotation.
|
getEnumValue, visitArray, visitEnumprivate final java.lang.String attributeName
private final java.util.List<AnnotationAttributes> allNestedAttributes
public RecursiveAnnotationArrayVisitor(java.lang.String attributeName,
AnnotationAttributes attributes,
java.lang.ClassLoader classLoader)
public void visit(java.lang.String attributeName,
java.lang.Object attributeValue)
AnnotationVisitorvisit in class AbstractRecursiveAnnotationVisitorattributeName - the value name.attributeValue - the actual value, whose type must be Byte,
Boolean, Character, Short,
Integer , Long, Float, Double,
String or Type or OBJECT or 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).public AnnotationVisitor visitAnnotation(java.lang.String attributeName, java.lang.String asmTypeDescriptor)
AnnotationVisitorvisitAnnotation in class AbstractRecursiveAnnotationVisitorattributeName - the value name.asmTypeDescriptor - the class descriptor of the nested annotation class.public void visitEnd()
AnnotationVisitorvisitEnd in class AnnotationVisitor