private void fillinInstanceOf(short classID, Record res) {
		res.tag = ConstantPool.INSTANCE_OF;
		res.token = "instanceof";
		if (classID == -1) {//java.lang.Object, no super class
			res.type = DataType.DEFAULT;
		}
		else {
			res.type = dexHeader.getDataType(program, classID);
		}
	}
Map Ghidra's generic ConstantPool interface onto the Dex specific constant pool
Ghidra/Processors/Dalvik/src/main/java/ghidra/dalvik/dex/inject/ConstantPoolDex.java