@Override
		Object stringToObject(String string) {
			SaveState saveState = getSaveStateFromXmlString(string);
			String customOptionClassName =
				saveState.getString(CustomOption.CUSTOM_OPTION_CLASS_NAME_KEY, null);
			try {
				Class<?> c = Class.forName(customOptionClassName);
				CustomOption option = (CustomOption) c.getConstructor().newInstance();
				option.readState(saveState);
				return option;
			}
			catch (ClassNotFoundException e) {
				Msg.warn(this,
					"Ignoring unsupported customOption instance for: " + customOptionClassName);
			}
			catch (Exception e) {
				Msg.error(this,
					"Can't create customOption instance for: " + customOptionClassName + e);
			}
			return null;
		}
Return true if the give value is of the correct type for this option type. Note that a
value of null is compatible with any class type
since it is an acceptable value for any class type.
@param object the object to see if it is compatible with this option type
@return true if the give value is of the correct type for this option type.
Ghidra/Framework/Gui/src/main/java/ghidra/framework/options/OptionType.java