You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")
The text was updated successfully, but these errors were encountered:
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")
The text was updated successfully, but these errors were encountered: