Generate only setter method for field in Eclipse (or SpringSource Tool Suite)

1.1k Views Asked by At

Can I generate in Eclipse only setter(s) (without getter(s)) of field(s)? In Spring I don't need getters in many beans.

1

There are 1 best solutions below

1
On BEST ANSWER

Absolutely. Go to "Generate Getters and Setters" and click on "Select Setters".