Hi Séven,
Thank you for your answer, but beyond the use of Lombok, I've found another troublesome thing :
In my example, if you just remove the setter (setViewId) from the ViewObject : Selma generates the mapper without the mapping (ModelObject.id -> ViewObject.viewId)
It means that if the destination class doesn't have any setters (Omission, removal, ...), Selma silently generates a mapper that doesn't map anything.
I think Selma should throw an exception on annotation processing because it's clearly a mapping problem.
Or maybe, just consider that if the developer want to map a field XXX, Selma calls anyway the method setXXX and if this method doesn't exist, the java compiler will generate a compilation error.
Regards,
Matthieu.