docs: public static <T extends Enum<T>> T getEnumValue(Class<T> enumType,
              String name) {
          if (StringUtils.isEmpty(name)) {
              return null;
          }
          
          try {
              T v = Enum.valueOf(enumType, name);
              return v;
          } catch (IllegalArgumentException e) {
              return null;
          }
      }