Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 Eclipse 中仅生成字段的设置器(没有获取器)吗?在春天,我不需要许多 bean 中的吸气剂。
绝对地。转到“生成获取器和设置器”,然后单击“选择设置器”。