@Override
	public <T extends AbstractMsType> T getTypeRecord(RecordNumber recordNumber,
			Class<T> typeClass) {
		recordNumber = fixupTypeIndex(recordNumber, typeClass);
		AbstractMsType msType = null;
		if (recordNumber.getCategory() == RecordCategory.TYPE) {
			int typeIndexMin = typeProgramInterface.getTypeIndexMin();
			if (recordNumber.getNumber() < typeIndexMin) {
				msType = typeProgramInterface.getPrimitiveRecord(recordNumber.getNumber());
			}
			else {
				msType = dummyTypes.get(recordNumber);
			}
		}
		else {
			int typeIndexMin = itemProgramInterface.getTypeIndexMin();
			if (recordNumber.getNumber() < typeIndexMin) {
				// Not sure there is such as thing as an item primitive
				msType = itemProgramInterface.getPrimitiveRecord(recordNumber.getNumber());
			}
			else {
				msType = dummyItems.get(recordNumber);
			}
		}
		if (!typeClass.isInstance(msType)) {
			if (!recordNumber.isNoType()) {
				PdbLog.logGetTypeClassMismatch(msType, typeClass);
			}
			return null;
		}
		return typeClass.cast(msType);
	}
IMPORTANT: This method is for testing only.  It allows us to add a "item" record that gets
 its record number automatically assigned
@param type "item" AbstractMsType to be inserted
@return record number assigned
Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/DummyPdb700.java