gnu.bytecode

Class CpoolClass


public class CpoolClass
extends CpoolEntry

A CONSTANT_Class entry in the constant pool.

Field Summary

Fields inherited from class gnu.bytecode.CpoolEntry

index

Method Summary

ObjectType
getClassType()
Get corresponding ObjectType (ClassType or ArrayType).
CpoolUtf8
getName()
String
getStringName()
Get name of the class as a String.
int
getTag()
int
hashCode()
void
print(ClassTypeWriter dst, int verbosity)

Methods inherited from class gnu.bytecode.CpoolEntry

getIndex, getTag, hashCode, print

Method Details

getClassType

public final ObjectType getClassType()
Get corresponding ObjectType (ClassType or ArrayType).

getName

public final CpoolUtf8 getName()

getStringName

public final String getStringName()
Get name of the class as a String.

getTag

public int getTag()
Overrides:
getTag in interface CpoolEntry

hashCode

public int hashCode()
Overrides:
hashCode in interface CpoolEntry

print

public void print(ClassTypeWriter dst,
                  int verbosity)
Overrides:
print in interface CpoolEntry