| Modifier and Type | Field and Description |
|---|---|
| public int | access
The field's access flags (see |
| public List | attrs
The non standard attributes of this field. |
| public String | desc
The field's descriptor (see |
| public List | invisibleAnnotations
The runtime invisible annotations of this field. |
| public List | invisibleTypeAnnotations
The runtime invisible type annotations of this field. |
| public String | name
The field's name. |
| public String | signature
The field's signature. |
| public Object | value
The field's initial value. |
| public List | visibleAnnotations
The runtime visible annotations of this field. |
| public List | visibleTypeAnnotations
The runtime visible type annotations of this field. |
| Access | Constructor and Description |
|---|---|
| public | FieldNode(final int
the field's access flags (see access, final String org.objectweb.asm.Opcodes). This parameter
also indicates if the field is synthetic and/or deprecated.the field's name. name, final String the field's descriptor (see descriptor, final String org.objectweb.asm.Type).the field's signature. signature, final Object value)Constructs a new |
| public | FieldNode(final int
the ASM API version implemented by this visitor. Must be one of the api, final int ASMx values in Opcodes.the field's access flags (see access, final String org.objectweb.asm.Opcodes). This parameter
also indicates if the field is synthetic and/or deprecated.the field's name. name, final String the field's descriptor (see descriptor, final String org.objectweb.asm.Type).the field's signature. signature, final Object value)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final ClassVisitor
a class visitor. classVisitor)Makes the given class visitor visit this field. |
| public void | |
| public AnnotationVisitor | visitAnnotation(final String
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 | visitAttribute(final Attribute
an attribute. attribute)
Visits a non standard attribute of the field.
|
| public void | |
| public AnnotationVisitor | visitTypeAnnotation(final int
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)Overrides org. |
| access | back to summary |
|---|---|
| public int access The field's access flags (see | |
| attrs | back to summary |
|---|---|
| public List<Attribute> attrs The non standard attributes of this field. * May be null. | |
| desc | back to summary |
|---|---|
| public String desc The field's descriptor (see | |
| invisibleAnnotations | back to summary |
|---|---|
| public List<AnnotationNode> invisibleAnnotations The runtime invisible annotations of this field. May be null. | |
| invisibleTypeAnnotations | back to summary |
|---|---|
| public List<TypeAnnotationNode> invisibleTypeAnnotations The runtime invisible type annotations of this field. May be null. | |
| name | back to summary |
|---|---|
| public String name The field's name. | |
| signature | back to summary |
|---|---|
| public String signature The field's signature. May be null. | |
| value | back to summary |
|---|---|
| public Object value The field's initial value. This field, which may be null if the field does not have
an initial value, must be an | |
| visibleAnnotations | back to summary |
|---|---|
| public List<AnnotationNode> visibleAnnotations The runtime visible annotations of this field. May be null. | |
| visibleTypeAnnotations | back to summary |
|---|---|
| public List<TypeAnnotationNode> visibleTypeAnnotations The runtime visible type annotations of this field. May be null. | |
| FieldNode | back to summary |
|---|---|
| public FieldNode(final int access, final String name, final String descriptor, final String signature, final Object value) Constructs a new
| |
| FieldNode | back to summary |
|---|---|
| public FieldNode(final int api, final int access, final String name, final String descriptor, final String signature, final Object value) Constructs a new
| |
| accept | back to summary |
|---|---|
| public void accept(final ClassVisitor classVisitor) Makes the given class visitor visit this field.
| |
| check | back to summary |
|---|---|
| public void check(final int api) Checks that this field node is compatible with the given ASM API version. This method checks that this node, and all its children recursively, do not contain elements that were introduced in more recent versions of the ASM API than the given version.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(final String descriptor, final boolean visible) Overrides org. Doc from org. Visits an annotation of the field.
| |
| visitAttribute | back to summary |
|---|---|
| public void visitAttribute(final Attribute attribute) Overrides org. Doc from org. Visits a non standard attribute of the field. | |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() Overrides org. Doc from org. 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) Overrides org. Doc from org. Visits an annotation on the type of the field.
| |