docs: public Object loadClassAndReturnEnumValue(final boolean ignoreExceptions) throws IllegalArgumentException {
          final Class<?> classRef = super.loadClass(ignoreExceptions);
          if (!classRef.isEnum()) {
              throw new IllegalArgumentException("Class " + className + " is not an enum");
          }
          Field field;
          try {
              field = classRef.getDeclaredField(valueName);
          } catch (final ReflectiveOperationException | SecurityException e) {
              throw new IllegalArgumentException("Could not find enum constant " + toString(), e);
          }
          if (!field.isEnumConstant()) {
              throw new IllegalArgumentException("Field " + toString() + " is not an enum constant");
          }
          try {
              return field.get(null);
          } catch (final ReflectiveOperationException | SecurityException e) {
              throw new IllegalArgumentException("Field " + toString() + " is not accessible", e);
          }
      }