org.objectweb.asm.tree
Class AnnotationNode
- AnnotationVisitor
public class AnnotationNode
A node that represents an annotationn.
- Eric Bruneton
String | desc - The class descriptor of the annotation class.
|
List | values - The name value pairs of this annotation.
|
desc
public String desc
The class descriptor of the annotation class.
values
public List 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
String
, and
the value may be a
Byte
,
Boolean
,
Character
,
Short
,
Integer
,
Long
,
Float
,
Double
,
String
or
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)
desc
- the class descriptor of the annotation class.
accept
public void accept(AnnotationVisitor av)
Makes the given visitor visit this annotation.
av
- an annotation visitor.