开发者

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

开发者 https://www.devze.com 2023-02-10 15:41 出处:网络
Can I generate in Eclipse only setter(s开发者_C百科) (without getter(s)) of field(s)? In Spring I don\'t need getters in many beans.Absolutely. Go to \"Generate Getters and Setters\" and click on \"Se

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消