Fields don't have a no argument constructor.
DavidTPate opened this issue · comments
With lombok you are generating simple getters and setters which return this instead of void, but since there isn't a no args constructor for fields we aren't able to make much use of them to improve readability of code.
Currently we have to do something like this to create a field:
new TextField("NAME","name","Jim Bob")
This could easily be improved to be more readable by simply adding a blank constructor. The code could be transformed into a more readable form like below, which would also allow us to take advantage of the way that you have setters created through lombok.
new TextField().label("NAME") .key("name") .value("Jim Bob")