在我的Java项目中,我使用Lombok工具生成getter和setter。
它无需任何配置即可与Maven完美配合。
由于什么原因,我需要为Lombok配置Eclipse?
我已经知道如何配置Eclipse:https://projectlombok.org/download.html
为什么我必须在eclipse.ini中添加以下行?
-javaagent:lombok.jar
最佳答案
龙目岛站点指出:
Lombok copies your source files to another directory,
replacing all lombok annotations with their desugared form.
因此,仅由于修改源代码即可完成配置。没有“ javaagent”将很困难。