Methods Summary |
---|
public java.lang.String | getClassName()Get the class name of this entry.
return className;
|
public void | read(java.io.DataInputStream cpStream)Read the entry from a stream.
index = cpStream.readUnsignedShort();
className = "unresolved";
|
public void | resolve(ConstantPool constantPool)Resolve this class info against the given constant pool.
className = ((Utf8CPInfo) constantPool.getEntry(index)).getValue();
super.resolve(constantPool);
|
public java.lang.String | toString()Generate a string readable version of this entry
return "Class Constant Pool Entry for " + className + "[" + index + "]";
|