code: @Override
      public ICmdLineArg<E> setEnumCriteria(final String _enumClassName)
              throws ParseException, IOException
      {
          this.enumClassName = _enumClassName;
          Class<?> enumClass;
          try
          {
              enumClass = CmdLine.ClassLoader.loadClass(_enumClassName);
          } catch (final ClassNotFoundException e)
          {
              throw new ParseException("Enum class not found: " + e.getMessage(), 0);
          }
  
          final List<E> list = new ArrayList<>();
          if (!enumClass.isEnum())
              throw new ParseException("Enum class expected, found " + enumClass.getName(), 0);
          final Object[] constants = enumClass.getEnumConstants();
          for (final Object constant : constants)
          {
              final String econst = constant.toString();
              list.add(convert(econst, true, null));
          }
          setCriteria(new EnumCriteria<>(list));
          return this;
      }
docs: {@inheritDoc}