ch.elca.dependency.core.classinfo
Class FieldInfo

java.lang.Object
  |
  +--ch.elca.dependency.core.classinfo.FieldInfo

public class FieldInfo
extends java.lang.Object

This class defines a FieldInfo in the class file. Fields are used to describe instance variables in a class. The toString() method is augmented by a version that takes an array of ConstantPoolInfo objects (a constant pool). When a constant pool is available the toString() method generates a declaration for the field as it would appear in Java source.

Version:
1.3, 16 Aug 1995
Author:
Chuck McManis
See Also:
ch.elca.dependency.rawmodel.classinfo.Reader

Constructor Summary
FieldInfo()
           
 
Method Summary
 boolean read(java.io.DataInputStream di, ConstantPoolInfo[] pool)
           
 java.lang.String toString()
           
 java.lang.String toString(ConstantPoolInfo[] pool)
           
 void write(java.io.DataOutputStream dos, ConstantPoolInfo[] pool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldInfo

public FieldInfo()
Method Detail

read

public boolean read(java.io.DataInputStream di,
                    ConstantPoolInfo[] pool)
             throws java.io.IOException
java.io.IOException

write

public void write(java.io.DataOutputStream dos,
                  ConstantPoolInfo[] pool)
           throws java.io.IOException,
                  java.lang.Exception
java.io.IOException
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(ConstantPoolInfo[] pool)


Copyright © 2003 ELCA Informatique SA. All Rights Reserved.