org.apache.tools.ant.taskdefs.optional.depend.constantpool
public class NameAndTypeCPInfo extends ConstantPoolEntry
Constructor Summary | |
---|---|
NameAndTypeCPInfo() Constructor. |
Method Summary | |
---|---|
String | getName()
Get the name component of this entry
|
String | getType()
Get the type signature of this entry
|
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 this name and type entry
Returns: the type signature of this entry
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.