@Test public void testGetType() throws Exception { assertThat(ConstructorBasedConverter.getIfEligible(Person.class).getType()).isEqualTo(Person.class); }
@Override public Class<T> getType() { return clazz; }
ConstructorBasedConverter implements ParameterConverter<T> { @Override public Class<T> getType() { return clazz; } }
ConstructorBasedConverter implements ParameterConverter<T> { @Override public Class<T> getType() { return clazz; } private  ConstructorBasedConverter(Class<T> clazz, Constructor<T> constructor); }
ConstructorBasedConverter implements ParameterConverter<T> { @Override public Class<T> getType() { return clazz; } private  ConstructorBasedConverter(Class<T> clazz, Constructor<T> constructor); static ConstructorBasedConverter<T> getIfEligible(Class<T> clazz); @Override T fromString(String input); @Override Class<T> getType(); }
ConstructorBasedConverter implements ParameterConverter<T> { @Override public Class<T> getType() { return clazz; } private  ConstructorBasedConverter(Class<T> clazz, Constructor<T> constructor); static ConstructorBasedConverter<T> getIfEligible(Class<T> clazz); @Override T fromString(String input); @Override Class<T> getType();  }