public void putObject(String optionName, Object newValue, OptionType type) {

		Option option = getOption(optionName, type, null);

		Object oldValue = option.getCurrentValue();
		option.setCurrentValue(newValue);

		boolean success = false;
		try {
			// this can throw an OptionsVetoException
			success = notifyOptionChanged(optionName, oldValue, newValue);
		}
		finally {
			if (!success) {
				option.setCurrentValue(oldValue);
			}
		}
	}
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