| org.objectweb.asm.jip.AnnotationVisitor
All known Subclasses: org.objectweb.asm.jip.AnnotationWriter, org.objectweb.asm.jip.commons.EmptyVisitor,
AnnotationVisitor | public interface AnnotationVisitor (Code) | | A visitor to visit a Java annotation. The methods of this interface must be
called in the following order: (visit | visitEnum |
visitAnnotation | visitArray)* visitEnd.
author: Eric Bruneton author: Eugene Kuleshov |
visit | void visit(String name, Object value)(Code) | | Visits a primitive value of the annotation.
Parameters: name - the value name. Parameters: value - the actual value, whose type must be Byte,Boolean, Character, Short,Integer, Long, Float, Double,String or Type. |
visitAnnotation | AnnotationVisitor visitAnnotation(String name, String desc)(Code) | | Visits a nested annotation value of the annotation.
Parameters: name - the value name. Parameters: desc - the class descriptor of the nested annotation class. a non null visitor to visit the actual nested annotation value.The nested annotation value must be fully visited beforecalling other methods on this annotation visitor. |
visitArray | AnnotationVisitor visitArray(String name)(Code) | | Visits an array value of the annotation.
Parameters: name - the value name. a non null visitor to visit the actual array value elements. The'name' parameters passed to the methods of this visitor areignored. All the array values must be visited before callingother methods on this annotation visitor. |
visitEnd | void visitEnd()(Code) | | Visits the end of the annotation.
|
visitEnum | void visitEnum(String name, String desc, String value)(Code) | | Visits an enumeration value of the annotation.
Parameters: name - the value name. Parameters: desc - the class descriptor of the enumeration class. Parameters: value - the actual enumeration value. |
|
|