1

我可以在 Eclipse 中仅生成字段的设置器(没有获取器)吗?在春天,我不需要许多 bean 中的吸气剂。

4

1 回答 1

7

绝对地。转到“生成获取器和设置器”,然后单击“选择设置器”。

于 2011-02-14T16:19:15.697 回答