private TPI getTPI(RecordCategory category) {
		switch (category) {
			case TYPE:
				return typeProgramInterface;
			case ITEM:
				return itemProgramInterface;
			default:
				return null;
		}
	}
Returns the record for the associated record number, which is expected to match the
 desired class
@param <T> class return type
@param recordNumber record number
@param typeClass desired class type for return
@return the record
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/AbstractPdb.java