private void applyOptionUpdater(Options analyzerOptions, AnalysisOptionsUpdater updater) {

		Set<ReplaceableOption> replaceableOptions = updater.getReplaceableOptions();
		for (ReplaceableOption ro : replaceableOptions) {
			String newName = ro.getNewName();
			String oldName = ro.getOldName();
			if (!analyzerOptions.contains(oldName)) {
				continue; // the old option was never saved or has been removed
			}

			if (!analyzerOptions.contains(newName)) {
				Msg.error(this,
					"Found an option replacer without having the new option registered" +
						"new option: '" + newName + "'; old option: '" + oldName + "'");
				continue;
			}

			ro.replace(analyzerOptions);
			analyzerOptions.removeOption(ro.getOldName());
		}
	}
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