public void putEnum(String name, Enum<?> value) {
		if ((value.getClass().getModifiers() & Modifier.PUBLIC) == 0) {
			throw new IllegalArgumentException("enum '" + value.name() + "' must be public");
		}
		map.put(name, value);
	}
Associates an Enum with the given name.
@param name The name in the name,value pair.
@param value The Enum value in the name,value pair.
Ghidra/Framework/Generic/src/main/java/ghidra/framework/options/GProperties.java