Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.libraries.asm.tree
Class FieldNode

java.lang.Object
  extended by oracle.toplink.libraries.asm.tree.FieldNode

public class FieldNode
extends java.lang.Object

A node that represents a field.


Field Summary
 int access
          The field's access flags (see Constants).
 Attribute attrs
          The non standard attributes of the field.
 java.lang.String desc
          The field's descriptor (see Type).
 java.lang.String name
          The field's name.
 java.lang.Object value
          The field's initial value.
 
Constructor Summary
FieldNode(int access, java.lang.String name, java.lang.String desc, java.lang.Object value, Attribute attrs)
          Constructs a new FieldNode object.
 
Method Summary
 void accept(ClassVisitor cv)
          Makes the given class visitor visit this field.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

access

public int access
Description copied from class: FieldNode
The field's access flags (see Constants). This field also indicates if the field is synthetic and/or deprecated.


name

public java.lang.String name
Description copied from class: FieldNode
The field's name.


desc

public java.lang.String desc
Description copied from class: FieldNode
The field's descriptor (see Type).


value

public java.lang.Object value
Description copied from class: FieldNode
The field's initial value. This field, 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.


attrs

public Attribute attrs
Description copied from class: FieldNode
The non standard attributes of the field.

Constructor Detail

FieldNode

public FieldNode(int access,
                 java.lang.String name,
                 java.lang.String desc,
                 java.lang.Object value,
                 Attribute attrs)
Constructs a new 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 Integer, a Float, a Long, a Double or a String.
attrs - the non standard attributes of the field.
Method Detail

accept

public void accept(ClassVisitor cv)
Makes the given class visitor visit this field.

Parameters:
cv - a class visitor.

Copyright © 1998, 2010, Oracle. All Rights Reserved.