visit
| visitEnum
| visitAnnotation
| visitArray
)*
visitEnd
.
Modifier and Type | Field and Description |
---|---|
protected final int | api
The ASM API version implemented by this visitor. |
protected AnnotationVisitor | av
The annotation visitor to which this visitor must delegate method calls. |
Access | Constructor and Description |
---|---|
protected | AnnotationVisitor(final int
the ASM API version implemented by this visitor. Must be one of the api)ASM x values in Opcodes .Constructs a new |
protected | AnnotationVisitor(final int
the ASM API version implemented by this visitor. Must be one of the api, final AnnotationVisitor ASM x values in Opcodes .the annotation visitor to which this visitor must delegate method
calls. May be null. annotationVisitor)Constructs a new |
Modifier and Type | Method and Description |
---|---|
public AnnotationVisitor | Returns: the annotation visitor to which this visitor must delegate method calls, or null.The annotation visitor to which this visitor must delegate method calls. |
public void | visit(final String
the value name. name, final 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).Visits a primitive value of the annotation. |
public AnnotationVisitor | Returns: 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.the value name. name, final String the class descriptor of the nested annotation class. descriptor)Visits a nested annotation value of the annotation. |
public AnnotationVisitor | Returns: a visitor to visit the actual array value elements, or null if this visitor is not interested in visiting these values. The 'name' parameters passed to the methods of this visitor are ignored. All the array values must be visited before calling other methods on this annotation visitor.the value name. name)Visits an array value of the annotation. |
public void | |
public void |
api | back to summary |
---|---|
protected final int api The ASM API version implemented by this visitor. The value of this field must be one of the
|
av | back to summary |
---|---|
protected AnnotationVisitor av The annotation visitor to which this visitor must delegate method calls. May be null. |
AnnotationVisitor | back to summary |
---|---|
protected AnnotationVisitor(final int api) Constructs a new
|
AnnotationVisitor | back to summary |
---|---|
protected AnnotationVisitor(final int api, final AnnotationVisitor annotationVisitor) Constructs a new
|
getDelegate | back to summary |
---|---|
public AnnotationVisitor getDelegate() The annotation visitor to which this visitor must delegate method calls. May be null.
|
visit | back to summary |
---|---|
public void visit(final String name, final Object value) Visits a primitive value of the annotation.
|
visitAnnotation | back to summary |
---|---|
public AnnotationVisitor visitAnnotation(final String name, final String descriptor) Visits a nested annotation value of the annotation.
|
visitArray | back to summary |
---|---|
public AnnotationVisitor visitArray(final String name) 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() Visits the end of the annotation. |
visitEnum | back to summary |
---|---|
public void visitEnum(final String name, final String descriptor, final String value) Visits an enumeration value of the annotation. |