gnu.bytecode
Class CpoolClass
java.lang.Object
gnu.bytecode.CpoolEntry
gnu.bytecode.CpoolClass
public class CpoolClass
- extends CpoolEntry
A CONSTANT_Class entry in the constant pool.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
getTag
public int getTag()
- Specified by:
getTag
in class CpoolEntry
getName
public final CpoolUtf8 getName()
getStringName
public final java.lang.String getStringName()
- Get name of the class as a String.
getClassType
public final ObjectType getClassType()
- Get corresponding ObjectType (ClassType or ArrayType).
hashCode
public int hashCode()
- Overrides:
hashCode
in class CpoolEntry
print
public void print(ClassTypeWriter dst,
int verbosity)
- Description copied from class:
CpoolEntry
- Print this constant pool entry.
If verbosity==0, print very tersely (no extraneous text).
If verbosity==1, prefix the type of the constant.
If verbosity==2, add more descriptive text.
- Specified by:
print
in class CpoolEntry