Bining subclass

Is it possible to bind to subclass? Or i need to use remaper.
In mine example bind to “type” like in image.
subclass.png

type is enum classs during transfer to frontend

The binder.for(field).bind(a, b) method takes two functions so you don’t have to supply the obvious get/set but can also do b → b.getSuggestion().getType(), (b, v) → b.getSuggestion().setType(v)

lambda worked with little modification to user