开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜