@Override
	public void registerOption(String optionName, Object defaultValue, HelpLocation help,
			String description) {
		if (defaultValue == null) {
			throw new IllegalArgumentException(
				"Attempted to register an option with a null value.  If a null value is an " +
					"acceptable default, then call registerOption() that takes an OptionType.");
		}
		if (!isSupportedType(defaultValue)) {
			throw new IllegalArgumentException(
				"Attempted to register an unsupported object: " + defaultValue.getClass());
		}

		OptionType type = OptionType.getOptionType(defaultValue);
		registerOption(optionName, type, defaultValue, help, description);
	}
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