private String getTypeName(AbstractPdb pdb, RecordNumber r) {
		int num = r.getNumber();
		return switch (num) {
			case 0x13 -> "longlong";
			case 0x20 -> "unsignedchar";
			case 0x21 -> "unsignedshort";
			case 0x22 -> "unsignedlong";
			case 0x40 -> "float";
			case 0x41 -> "double";
			case 0x42 -> "longdouble";
			case 0x467 -> "pvoid";
			case 0x470 -> "pchar";
			case 0x603 -> "pvoid";
			case 0x670 -> "pchar";
			default -> getOther(pdb, r);
		};
	}
Developer script to capture items from Program and PDB for developing tests
Ghidra/Features/PDB/developer_scripts/CaptureHelperScript.java