| java.lang.Object com.tc.asm.tree.AnnotationNode
AnnotationNode | public class AnnotationNode implements AnnotationVisitor(Code) | | A node that represents an annotationn.
author: Eric Bruneton |
Field Summary | |
public String | desc The class descriptor of the annotation class. | public List | values The name value pairs of this annotation. |
desc | public String desc(Code) | | The class descriptor of the annotation class.
|
values | public List values(Code) | | The name value pairs of this annotation. Each name value pair is stored
as two consecutive elements in the list. The name is a
String ,
and the value may be a
Byte ,
Boolean ,
Character ,
Short ,
Integer ,
Long ,
Float ,
Double ,
String or
com.tc.asm.Type , or an
two elements String array (for enumeration values), a
AnnotationNode , or a
List of values of one of the
preceding types. The list may be null if there is no name
value pair.
|
AnnotationNode | public AnnotationNode(String desc)(Code) | | Constructs a new
AnnotationNode .
Parameters: desc - the class descriptor of the annotation class. |
AnnotationNode | AnnotationNode(List values)(Code) | | Constructs a new
AnnotationNode to visit an array value.
Parameters: values - where the visited values must be stored. |
accept | public void accept(AnnotationVisitor av)(Code) | | Makes the given visitor visit this annotation.
Parameters: av - an annotation visitor. Maybe null. |
accept | static void accept(AnnotationVisitor av, String name, Object value)(Code) | | Makes the given visitor visit a given annotation value.
Parameters: av - an annotation visitor. Maybe null. Parameters: name - the value name. Parameters: value - the actual value. |
visitEnd | public void visitEnd()(Code) | | |
|
|