private void doReplaceOldOptions(Program program) {

		AutoAnalysisManager manager = AutoAnalysisManager.getAnalysisManager(program);

		Options programAnalysisOptions = program.getOptions(Program.ANALYSIS_PROPERTIES);
		List<Options> allAnalyzersOptions = programAnalysisOptions.getChildOptions();
		for (Options analyzerOptions : allAnalyzersOptions) {
			String analyzerName = analyzerOptions.getName();
			Analyzer analyzer = manager.getAnalyzer(analyzerName);
			if (analyzer == null) {
				// can be null if an analyzer no longer exists
				continue;
			}
			AnalysisOptionsUpdater updater = analyzer.getOptionsUpdater();
			if (updater == null) {
				continue;
			}

			applyOptionUpdater(analyzerOptions, updater);
		}
	}
Updates programs with the latest option settings.
<p>
Details: This loops over every analyzer name in this panel and for
each, updates the associated enablement for all programs being
analyzed.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AnalysisPanel.java