1

This nice question explains how to add another field that gets initialised via the constructor.

But I have a plain "data" bean. I want to add a new field, and then create getter/setter for that.

Is there shortcut that does exactly that?

GhostCat
  • 137,827
  • 25
  • 176
  • 248

0 Answers0