Package gnu.bytecode
Class CpoolRef
- java.lang.Object
-
- gnu.bytecode.CpoolEntry
-
- gnu.bytecode.CpoolRef
-
public class CpoolRef extends CpoolEntry
A CONSTANT_{Field,Method,InterfaceMethod}Ref entry in the constant pool.
-
-
Field Summary
-
Fields inherited from class gnu.bytecode.CpoolEntry
index
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CpoolClassgetCpoolClass()CpoolNameAndTypegetNameAndType()intgetTag()inthashCode()voidprint(ClassTypeWriter dst, int verbosity)Print this constant pool entry.-
Methods inherited from class gnu.bytecode.CpoolEntry
getIndex
-
-
-
-
Method Detail
-
getTag
public int getTag()
- Specified by:
getTagin classCpoolEntry
-
getCpoolClass
public final CpoolClass getCpoolClass()
-
getNameAndType
public final CpoolNameAndType getNameAndType()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCpoolEntry
-
print
public void print(ClassTypeWriter dst, int verbosity)
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
-
-