@Test public void getTargetTypeToken() throws Exception { TestGenericConverter converter = new TestGenericConverter(); assertTrue(converter.getTargetTypeToken().equals(TypeToken.of(String.class))); }
public TypeToken<D> getTargetTypeToken() { return targetTypeToken; }
AbstractGenericConverter extends AbstractConverter { public TypeToken<D> getTargetTypeToken() { return targetTypeToken; } }
AbstractGenericConverter extends AbstractConverter { public TypeToken<D> getTargetTypeToken() { return targetTypeToken; } AbstractGenericConverter();  AbstractGenericConverter(int priority); }
AbstractGenericConverter extends AbstractConverter { public TypeToken<D> getTargetTypeToken() { return targetTypeToken; } AbstractGenericConverter();  AbstractGenericConverter(int priority); @SuppressWarnings("unchecked") @Override Object convert(Object source, TypeToken<?> typeToken); abstract D convert(S source); @Override boolean canHandle(Object source, TypeToken<?> typeToken); TypeToken<S> getSourceTypeToken(); TypeToken<D> getTargetTypeToken(); }
AbstractGenericConverter extends AbstractConverter { public TypeToken<D> getTargetTypeToken() { return targetTypeToken; } AbstractGenericConverter();  AbstractGenericConverter(int priority); @SuppressWarnings("unchecked") @Override Object convert(Object source, TypeToken<?> typeToken); abstract D convert(S source); @Override boolean canHandle(Object source, TypeToken<?> typeToken); TypeToken<S> getSourceTypeToken(); TypeToken<D> getTargetTypeToken();  }