| Modifier and Type | Field and Description |
|---|---|
| private int | descriptorIndex
the index into the constant pool where the type descriptor string is stored. |
| private String | name
the name component of this entry |
| private int | nameIndex
the index into the constant pool at which the name component's string value is stored |
| private String | type
the type component of this entry |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public void | read(DataInputStream
the DataInputStream which contains the constant pool
entry to be read. cpStream)Implements abstract org. |
| public void | resolve(ConstantPool
the constant pool of which this entry is a member
and against which this entry is to be resolved. constantPool)Overrides org. |
| public String | Returns: the string representation of this constant pool entry.Overrides java. |
| descriptorIndex | back to summary |
|---|---|
| private int descriptorIndex the index into the constant pool where the type descriptor string is stored. | |
| name | back to summary |
|---|---|
| private String name the name component of this entry | |
| nameIndex | back to summary |
|---|---|
| private int nameIndex the index into the constant pool at which the name component's string value is stored | |
| type | back to summary |
|---|---|
| private String type the type component of this entry | |
| NameAndTypeCPInfo | back to summary |
|---|---|
| public NameAndTypeCPInfo() Constructor. | |
| getName | back to summary |
|---|---|
| public String getName() Get the name component of this entry
| |
| getType | back to summary |
|---|---|
| public String getType() Get the type signature of this entry
| |
| read | back to summary |
|---|---|
| public void read(DataInputStream cpStream) throws IOException Implements abstract org. read a constant pool entry from a class stream.
| |
| resolve | back to summary |
|---|---|
| public void resolve(ConstantPool constantPool) Overrides org. Resolve this constant pool entry with respect to its dependents in the constant pool.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Print a readable version of the constant pool entry. | |