Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

field_info Class Reference

List of all members.

Public Methods

ConstantValue_attribute findConstantValue_attribute ()
String prototype (cp_info constant_pool[])
String toName (cp_info constant_pool[])

Public Attributes

int access_flags
int name_index
int descriptor_index
int attributes_count
attribute_info attributes []

Detailed Description

Represents a single field_info object.
See also:
ClassFile
Author:
Clark Verbrugge

Definition at line 119 of file field_info.java.


Member Function Documentation

ConstantValue_attribute field_info::findConstantValue_attribute   [inline]
 

Locates a constant value attribute if one exists.

Returns:
the constant value attribute or null.
See also:
ConstantValue_attribute

Definition at line 143 of file field_info.java.

String field_info::prototype cp_info   constant_pool[] [inline]
 

Returns the prototype of this field.

Parameters:
constant_pool   the constant_pool for this class.
Returns:
the prototype (access + type + name) of this field.

Definition at line 156 of file field_info.java.

Referenced by ClassFile::listFields().

String field_info::toName cp_info   constant_pool[] [inline]
 

Returns the name of this field.

Parameters:
constant_pool   the constant_pool for this class.
Returns:
the name of this field.

Definition at line 172 of file field_info.java.

Referenced by ClassFile::fieldName().


Member Data Documentation

int field_info::access_flags
 

Access flags for this field.

Definition at line 121 of file field_info.java.

attribute_info field_info::attributes[]
 

Array of attribute_info objects for this field.

See also:
attribute_info

Definition at line 137 of file field_info.java.

int field_info::attributes_count
 

Count of attributes this field contains.

Definition at line 133 of file field_info.java.

int field_info::descriptor_index
 

Constant pool index of the type descriptor of this field.

See also:
ClassFile::constant_pool , CONSTANT_Utf8_info

Definition at line 131 of file field_info.java.

int field_info::name_index
 

Constant pool index of the name of this field.

See also:
ClassFile::constant_pool , CONSTANT_Utf8_info

Definition at line 126 of file field_info.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:11:18 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001