code: public <T extends Enum<T>> T answer(final Class<T> enumClass) {
          return answer(enumClass, "unknown value");
      }
docs: Return user input as T extends Enum<T>. Complete with enum values.
  
  @param enumClass Class of enum to return
  @param <T> the return type
  @return user input as enum value