Enum<?> getEnumValue(String enumClassName, String value) {
		try {
			Class<?> enumClass = Class.forName(enumClassName).asSubclass(Enum.class);

			Method m = enumClass.getMethod("valueOf", new Class[] { String.class });
			if (m != null) {
				return (Enum<?>) m.invoke(null, new Object[] { value });
			}
		}
		catch (Exception e) {
			Msg.warn(this, "Can't find field " + value + " in enum class " + enumClassName, e);
		}
		return null;
	}
Construct a new GProperties object using the given JSonObject.
@param root JSonObject representing a GProperties
Ghidra/Framework/Generic/src/main/java/ghidra/framework/options/GProperties.java