Problem is in using of java reflection `field.getType()`. I think that we should use `field.getGenericType()`.
Problem is in using of java reflection
field.getType(). I think that we should usefield.getGenericType().