public Map<String, String> getAnalysisOptionDefaultValues(Program program,
			List<String> analysisOptions) {
		Options options = program.getOptions(Program.ANALYSIS_PROPERTIES);

		Map<String, String> optionsToDefaultValues = new HashMap<>();

		for (String singleOption : analysisOptions) {
			Object defaultValue = options.getDefaultValue(singleOption);
			String defaultValueString = defaultValue == null ? null : defaultValue.toString();

			if (defaultValueString == null) {
				defaultValueString = "";
			}

			optionsToDefaultValues.put(singleOption, defaultValueString);
		}

		return optionsToDefaultValues;
	}
Returns a mapping of the given analysis options to their default values in String form.
An individual option is mapped to the empty String if the option is invalid.

@param program  the program for which to retrieve default values for the
					given analysis options
@param analysisOptions  the analysis options for which to retrieve default values
@return  mapping from analysis options to their default values.  An individual option
				will be mapped to an empty String if the option is invalid.
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java