docs: public static final<E extends Enum> E getEnumValue(String str, Class<E> enumClass) {
          str = str.trim();
          if (StringUtils.isBlank(str)) return null;
          for (E e : enumClass.getEnumConstants()) {
              if (e.toString().equalsIgnoreCase(str)) return e;
          }
          throw new IllegalArgumentException("Invalid enum string provided for ["+enumClass+"]: " + str);
      }