code: private boolean canBeMadeFromString(final Class<?> clazz) {
          if (clazz.isEnum()) {
              return true;
          }
          try {
              clazz.getConstructor(String.class);
              return true;
          } catch (final NoSuchMethodException e) {
              return false;
          }
      }
docs: True if clazz is an enum, or if it has a ctor that takes a single String argument.