@Test public void getSourceTypeToken() throws Exception { TestGenericConverter converter = new TestGenericConverter(); assertTrue(converter.getSourceTypeToken().equals(TypeToken.of(Integer.class))); }
public TypeToken<S> getSourceTypeToken() { return sourceTypeToken; }
AbstractGenericConverter extends AbstractConverter { public TypeToken<S> getSourceTypeToken() { return sourceTypeToken; } }
AbstractGenericConverter extends AbstractConverter { public TypeToken<S> getSourceTypeToken() { return sourceTypeToken; } AbstractGenericConverter();  AbstractGenericConverter(int priority); }
AbstractGenericConverter extends AbstractConverter { public TypeToken<S> getSourceTypeToken() { return sourceTypeToken; } 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<S> getSourceTypeToken() { return sourceTypeToken; } 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();  }