private String getTypeDescriptor(ClassHolder ch, int pc) {
int cpi = getU2(pc);
// Field reference or method reference
CONSTANT_Index_info cii = (CONSTANT_Index_info) ch.getEntry(cpi);
// NameAndType reference
int nameAndType = cii.getI2();
cii = (CONSTANT_Index_info) ch.getEntry(nameAndType);
// UTF8 descriptor
int descriptor = cii.getI2();
CONSTANT_Utf8_info type = (CONSTANT_Utf8_info) ch.getEntry(descriptor);
String vmDescriptor = type.toString();
return vmDescriptor;