• 遇到问题

  IDEA Java 后台项目 get\set方法报红,但不影响运行——Lombok

  •  解决问题

File -->  Settings -->  Plugins --> Lombok 

IDEA Java 后台项目 get\set方法报红,但不影响运行——Lombok

 

  • 插件说明

官网:https://projectlombok.org/

  Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.
Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more.

(lombok 项目是一个java库,它可以自动插入到编辑器和构建工具中,提高java的效率。

永远不要再编写另一个getter或equals方法,使用一个注释,您的类有一个功能齐全的生成器,自动记录变量,等等。)

相关文章:

  • 2021-11-02
  • 2022-02-07
  • 2022-12-23
  • 2021-07-26
  • 2021-04-26
  • 2021-04-07
  • 2021-09-24
  • 2021-08-28
猜你喜欢
  • 2021-09-09
  • 2021-05-18
  • 2022-12-23
  • 2021-09-06
  • 2021-07-27
  • 2021-07-25
  • 2021-07-01
相关资源
相似解决方案