public Parameter asParameter(boolean includeStorageDetail) throws InvalidInputException {
		VariableStorage paramStorage = !isMissingStorage() && includeStorageDetail
				? getVariableStorage()
				: VariableStorage.UNASSIGNED_STORAGE;

		// try to allow ghidra to autoname param instead of using our autogenerated version
		String newName = name.isAnon() ? null : name.getName();

		ParameterImpl result =
			new ParameterImpl(newName, Parameter.UNASSIGNED_ORDINAL, type, paramStorage, true,
				program.getGhidraProgram(), SourceType.IMPORTED);
		result.setComment(getParamComment());

		return result;
	}
If this is a static/global variable, stored at a ram address, return it's
ram address.

@return address of where this variable is stored, null if not ram address
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFVariable.java