|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.asm.tree.MemberNode
org.objectweb.asm.tree.FieldNode
public class FieldNode
A node that represents a field.
| Field Summary | |
|---|---|
int |
access
The field's access flags (see Opcodes). |
String |
desc
The field's descriptor (see Type). |
String |
name
The field's name. |
String |
signature
The field's signature. |
Object |
value
The field's initial value. |
| Fields inherited from class org.objectweb.asm.tree.MemberNode |
|---|
attrs, invisibleAnnotations, visibleAnnotations |
| Constructor Summary | |
|---|---|
FieldNode(int access,
String name,
String desc,
String signature,
Object value)
Constructs a new FieldNode. |
|
| Method Summary | |
|---|---|
void |
accept(ClassVisitor cv)
Makes the given class visitor visit this field. |
| Methods inherited from class org.objectweb.asm.tree.MemberNode |
|---|
visitAnnotation, visitAttribute, visitEnd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectweb.asm.FieldVisitor |
|---|
visitAnnotation, visitAttribute, visitEnd |
| Field Detail |
|---|
public int access
Opcodes). This
field also indicates if the field is synthetic and/or deprecated.
public String name
public String desc
Type).
public String signature
public Object value
Integer, a
Float, a Long, a Double or a String.
| Constructor Detail |
|---|
public FieldNode(int access,
String name,
String desc,
String signature,
Object value)
FieldNode.
access - the field's access flags (see
Opcodes). This parameter also indicates
if the field is synthetic and/or deprecated.name - the field's name.desc - the field's descriptor (see
Type).signature - the field's signature.value - the field's initial value. This parameter, which may be
null if the field does not have an initial value, must
be an Integer, a Float, a Long, a
Double or a String.| Method Detail |
|---|
public void accept(ClassVisitor cv)
cv - a class visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||