Package gnu.bytecode
Class CpoolClass
java.lang.Object
gnu.bytecode.CpoolEntry
gnu.bytecode.CpoolClass
A CONSTANT_Class entry in the constant pool.
-
Field Summary
Fields inherited from class gnu.bytecode.CpoolEntry
index -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringfinal ObjectTypeGet corresponding ObjectType (ClassType or ArrayType).final CpoolUtf8getName()final StringGet name of the class as a String.intgetTag()inthashCode()voidprint(ClassTypeWriter dst, int verbosity) Print this constant pool entry.Methods inherited from class gnu.bytecode.CpoolEntry
getIndex
-
Method Details
-
getTag
public int getTag()- Specified by:
getTagin classCpoolEntry
-
getName
-
getStringName
Get name of the class as a String. -
getClassName
-
getClassType
Get corresponding ObjectType (ClassType or ArrayType). -
hashCode
public int hashCode()- Overrides:
hashCodein classCpoolEntry
-
print
Description copied from class:CpoolEntryPrint 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:
printin classCpoolEntry
-