com.objectwave.classFile
Class FieldInfo
java.lang.Object
|
+--com.objectwave.classFile.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.
- See Also:
ClassFile
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FieldInfo
public FieldInfo()
fixUpConstants
protected void fixUpConstants(ClassFile target,
ConstantPoolInfo[] originalPool)
throws java.lang.Exception
java.lang.Exception
read
public boolean read(java.io.DataInputStream di,
ConstantPoolInfo[] pool)
throws java.io.IOException
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(ConstantPoolInfo[] pool)
write
public void write(java.io.DataOutputStream dos,
ConstantPoolInfo[] pool)
throws java.io.IOException,
java.lang.Exception
java.io.IOException
java.lang.Exception