| Modifier and Type | Field and Description |
|---|---|
| private String | className
The class' name. |
| private int | index
The index into the constant pool where this class' name is stored. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | read(DataInputStream
the stream containing the constant pool entry to be
read. cpStream)Implements abstract org. |
| public void | resolve(ConstantPool
the constant pool with which to resolve the
class. constantPool)Overrides org. |
| public String | Returns: string representation of this constant pool entryOverrides java. |
| className | back to summary |
|---|---|
| private String className The class' name. This will be only valid if the entry has been resolved against the constant pool. | |
| index | back to summary |
|---|---|
| private int index The index into the constant pool where this class' name is stored. If the class name is changed, this entry is invalid until this entry is connected to a constant pool. | |
| ClassCPInfo | back to summary |
|---|---|
| public ClassCPInfo() Constructor. Sets the tag value for this entry to type Class | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Get the class name of this entry.
| |
| read | back to summary |
|---|---|
| public void read(DataInputStream cpStream) throws IOException Implements abstract org. Read the entry from a stream.
| |
| resolve | back to summary |
|---|---|
| public void resolve(ConstantPool constantPool) Overrides org. Resolve this class info against the given constant pool.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Generate a string readable version of this entry | |