code: public ValueReader enumReader(Class<?> enumType) {
          Object[] enums = enumType.getEnumConstants();
          Map<String,Object> byName = new HashMap<String,Object>();
          for (Object e : enums) {
              byName.put(e.toString(), e);
          }
          return new EnumReader(enums, byName);
      }
docs: /*
  ********************************************************************
  /* Factory methods for non-Bean readers
  ********************************************************************