@Test(expected = UnsupportedConversion.class) public void shouldThrowWhenUnsupported() throws Exception { converter.convert(Package.class, getClass().getPackage().getName()); }
@Nonnull public <T> T convert(@Nonnull final Class<T> type, @Nonnull final String value) throws Exception { return convert(TypeToken.of(wrap(type)), value); }
Converter { @Nonnull public <T> T convert(@Nonnull final Class<T> type, @Nonnull final String value) throws Exception { return convert(TypeToken.of(wrap(type)), value); } }
Converter { @Nonnull public <T> T convert(@Nonnull final Class<T> type, @Nonnull final String value) throws Exception { return convert(TypeToken.of(wrap(type)), value); }  }
Converter { @Nonnull public <T> T convert(@Nonnull final Class<T> type, @Nonnull final String value) throws Exception { return convert(TypeToken.of(wrap(type)), value); }  void register(@Nonnull final Class<T> type, @Nonnull final Conversion<T, ?> factory); void register(@Nonnull final TypeToken<T> type,
            @Nonnull final Conversion<T, ?> factory); void registerDate(@Nonnull final String pattern); @Nonnull T convert(@Nonnull final Class<T> type, @Nonnull final String value); @SuppressWarnings("unchecked") @Nonnull T convert(@Nonnull final TypeToken<T> type, @Nonnull final String value); @Nonnull Set<TypeToken<?>> registered(); }
Converter { @Nonnull public <T> T convert(@Nonnull final Class<T> type, @Nonnull final String value) throws Exception { return convert(TypeToken.of(wrap(type)), value); }  void register(@Nonnull final Class<T> type, @Nonnull final Conversion<T, ?> factory); void register(@Nonnull final TypeToken<T> type,
            @Nonnull final Conversion<T, ?> factory); void registerDate(@Nonnull final String pattern); @Nonnull T convert(@Nonnull final Class<T> type, @Nonnull final String value); @SuppressWarnings("unchecked") @Nonnull T convert(@Nonnull final TypeToken<T> type, @Nonnull final String value); @Nonnull Set<TypeToken<?>> registered();  }