wt.loader
Class FieldInfo
java.lang.Object
wt.loader.FieldInfo
- public class FieldInfo
- extends 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
versionID
private static final String versionID
- See Also:
- Constant Field Values
accessFlags
short accessFlags
name
ConstantPoolInfo name
signature
ConstantPoolInfo signature
attributes
AttributeInfo[] attributes
FieldInfo
public FieldInfo()
read
public boolean read(DataInputStream di,
ConstantPoolInfo[] pool)
throws IOException
- Throws:
IOException
write
public void write(DataOutputStream dos,
ConstantPoolInfo[] pool)
throws IOException,
Exception
- Throws:
IOException
Exception
toString
public String toString()
toString
public String toString(ConstantPoolInfo[] pool)