@Override
	public synchronized void createAlias(String aliasName, Options options, String optionsName) {
		if (options instanceof SubOptions) {
			SubOptions subOptions = (SubOptions) options;
			options = subOptions.getOptions();
			optionsName = subOptions.getPrefix() + optionsName;
		}

		if (options instanceof AbstractOptions) {
			aliasMap.put(aliasName, new AliasBinding((AbstractOptions) options, optionsName));
			return;
		}
		throw new IllegalArgumentException(
			"Can only alias options that extend AbstractOptions or is a SubOptions of an AbstractOptions");
	}
Sets the name for this Options object.  Used when updating old options names to new names.
@param newName the new name for this options object.
Ghidra/Framework/Gui/src/main/java/ghidra/framework/options/AbstractOptions.java