visitAnnotation
| visitTypeAnnotation
| visitAttribute
)* visitEnd
.
Modifier and Type | Field and Description |
---|---|
protected final int | api
The ASM API version implemented by this visitor. |
protected FieldVisitor | fv
The field visitor to which this visitor must delegate method calls. |
Access | Constructor and Description |
---|---|
protected | FieldVisitor(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 | FieldVisitor(final int
the ASM API version implemented by this visitor. Must be one of the api, final FieldVisitor ASM x values in Opcodes .the field visitor to which this visitor must delegate method calls. May be
null. fieldVisitor)Constructs a new |
Modifier and Type | Method and Description |
---|---|
public FieldVisitor | Returns: the field visitor to which this visitor must delegate method calls, or null.The field visitor to which this visitor must delegate method calls. |
public AnnotationVisitor | Returns: a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.the class descriptor of the annotation class. descriptor, final boolean true if the annotation is visible at runtime. visible)Visits an annotation of the field. |
public void | |
public void | |
public AnnotationVisitor | Returns: a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.a reference to the annotated type. The sort of this type reference must be
typeRef, final TypePath TypeReference#FIELD . See TypeReference .the path to the annotated type argument, wildcard bound, array element type, or
static inner type within 'typeRef'. May be null if the annotation targets
'typeRef' as a whole. typePath, final String the class descriptor of the annotation class. descriptor, final boolean true if the annotation is visible at runtime. visible)Visits an annotation on the type of the field. |
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
|
fv | back to summary |
---|---|
protected FieldVisitor fv The field visitor to which this visitor must delegate method calls. May be null. |
FieldVisitor | back to summary |
---|---|
protected FieldVisitor(final int api) Constructs a new
|
FieldVisitor | back to summary |
---|---|
protected FieldVisitor(final int api, final FieldVisitor fieldVisitor) Constructs a new
|
getDelegate | back to summary |
---|---|
public FieldVisitor getDelegate() The field visitor to which this visitor must delegate method calls. May be null.
|
visitAnnotation | back to summary |
---|---|
public AnnotationVisitor visitAnnotation(final String descriptor, final boolean visible) Visits an annotation of the field.
|
visitAttribute | back to summary |
---|---|
public void visitAttribute(final Attribute attribute) Visits a non standard attribute of the field.
|
visitEnd | back to summary |
---|---|
public void visitEnd() Visits the end of the field. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the field have been visited. |
visitTypeAnnotation | back to summary |
---|---|
public AnnotationVisitor visitTypeAnnotation(final int typeRef, final TypePath typePath, final String descriptor, final boolean visible) Visits an annotation on the type of the field.
|