Hi,
Just wondering what the logic is behind having two arguments for the
bind method on the WTKXSerializer?
Instead of:
> public <T> void bind(T t, Class<? super T> type) throws BindException {
> Field[] fields = type.getDeclaredFields();
Why not:
> public <T> void bind(T t) throws BindException {
> Field[] fields = t.getClass().getDeclaredFields();
In fact, why is this parameterised at all? Wouldn't this suffice?
> public void bind(Object t) throws BindException {
> Field[] fields = t.getClass().getDeclaredFields();
Cheers,
Chris