private boolean setReturnType(FunctionDefinitionDataType functionDefinition,
			AbstractMsType type) throws CancelledException, PdbException {
		DataType returnType;
		if (isConstructor(type)) {
			returnType = getThisPointer(type);
		}
		else {
			RecordNumber returnRecord = getReturnRecordNumber(type);
			returnType = applicator.getDataType(returnRecord);
			if (returnType == null) {
				return false;
			}
		}
		functionDefinition.setReturnType(returnType);
		return true;
	}
Returns the {@link RecordNumber} of the function arguments list
@param type the PDB type being inspected
@return the record number
Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/AbstractFunctionTypeApplier.java