All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class shai.vmutils.FieldEntry

java.lang.Object
   |
   +----shai.vmutils.FieldEntry

public class FieldEntry
extends Object
This class contains the representation of a field in the class.


Variable Index

 o fieldAttributes
 o fieldMode
 o fieldName
 o fieldType

Constructor Index

 o FieldEntry(DataInputStream, ConstantPoolEntry[])
This method loads the field into memory from the class file.

Method Index

 o getFieldAttributes()
This method returns the fields attributes.
 o getFieldName()
This method returns the offset of the field name in the constant pool.
 o getFieldType()
This method returns the offset of the field type in the constant pool.
 o save(DataOutputStream)
This method was created by a SmartGuide.

Variables

 o fieldName
 int fieldName
 o fieldType
 int fieldType
 o fieldAttributes
 AttributeEntry fieldAttributes
 o fieldMode
 int fieldMode

Constructors

 o FieldEntry
 public FieldEntry(DataInputStream dataStream,
                   ConstantPoolEntry constantPool[]) throws IOException, ClassFormatError
This method loads the field into memory from the class file.

Parameters:
dataStream - java.io.DataInputStream
ConstantPoolEntry - constantPool[]
Throws: IOException
The exception description.

Methods

 o getFieldAttributes
 public AttributeEntry getFieldAttributes()
This method returns the fields attributes.

Returns:
shai.vmutils.AttributeEntry
 o getFieldName
 public int getFieldName()
This method returns the offset of the field name in the constant pool.

Returns:
java.lang.String
 o getFieldType
 public int getFieldType()
This method returns the offset of the field type in the constant pool.

Returns:
java.lang.String
 o save
 public void save(DataOutputStream outputStream) throws IOException
This method was created by a SmartGuide.

Parameters:
outputStream - java.io.DataOutputStream
Throws: IOException
The exception description.

All Packages  Class Hierarchy  This Package  Previous  Next  Index