class Enums {

    public static String getEnumNameFromFriendly(String anEnumFriendlyName) {
        return _Strings.splitThenStream(anEnumFriendlyName, " ")
                .map(_Strings::upper)
                .collect(Collectors.joining("_"));
    }

}