org.apache.tools.ant.taskdefs.optional.depend.constantpool
public class FieldRefCPInfo extends ConstantPoolEntry
Constructor Summary | |
---|---|
FieldRefCPInfo() Constructor. |
Method Summary | |
---|---|
String | getFieldClassName()
Gets the name of the class defining the field
|
String | getFieldName()
Get the name of the field
|
String | getFieldType()
Get the type of the field
|
void | read(DataInputStream cpStream)
read a constant pool entry from a class stream.
|
void | resolve(ConstantPool constantPool)
Resolve this constant pool entry with respect to its dependents in
the constant pool.
|
String | toString()
Print a readable version of the constant pool entry.
|
Returns: the name of the class defining the field
Returns: the field's name
Returns: the field's type in string format
Parameters: cpStream the DataInputStream which contains the constant pool entry to be read.
Throws: IOException if there is a problem reading the entry from the stream.
Parameters: constantPool the constant pool of which this entry is a member and against which this entry is to be resolved.
Returns: the string representation of this constant pool entry.