org.objectweb.asm.tree
public class FieldNode extends Object
| Field Summary | |
|---|---|
| int | access
The field's access flags (see Constants). |
| Attribute | attrs
The non standard attributes of the field. |
| String | desc
The field's descriptor (see Type). |
| String | name
The field's name. |
| Object | value
The field's initial value. |
| Constructor Summary | |
|---|---|
| FieldNode(int access, String name, String desc, Object value, Attribute attrs)
Constructs a new FieldNode object.
| |
| Method Summary | |
|---|---|
| void | accept(ClassVisitor cv)
Makes the given class visitor visit this field.
|
Type).java.lang.Integer
Integer, a java.lang.Float Float, a java.lang.Long Long,
a java.lang.Double Double or a String String. FieldNode object.
Parameters: access the field's access flags (see Constants). This parameter also indicates if the
field is synthetic and/or deprecated. name the field's name. desc the field's descriptor (see
Type). value the field's initial value. This parameter, which may be
null if the field does not have an initial value, must be an
java.lang.Integer Integer, a java.lang.Float Float, a
java.lang.Long Long, a java.lang.Double Double or a
String String. attrs the non standard attributes of the field.
Parameters: cv a class visitor.