Lombok is a Java library, it is automatically inserted into the editor and build tools, add spices to Java.
Never to write another getter or Eques method, your class has a full-featured builder, you can automate your log variables and more comments.
Official website:
https://projectlombok.org/
official document:
https://objectcomputing.com/resources/publications/sett/january-2010-reducing-boilerplate-code-with-project-lombok
IDEA installation:
Settings-> Plugins- > click "Browse repositories" -> input box "lombok"
If the following error appears:
introduced pom:
Specific effects:
Never to write another getter or Eques method, your class has a full-featured builder, you can automate your log variables and more comments.
Official website:
https://projectlombok.org/
official document:
https://objectcomputing.com/resources/publications/sett/january-2010-reducing-boilerplate-code-with-project-lombok
IDEA installation:
Settings-> Plugins- > click "Browse repositories" -> input box "lombok"
If the following error appears:
Plugin Lombok was not installed: Cannot download 'https://plugins.jetbrains.com/pluginManager/?action=download&id=Lombook%20Plugin&build=IU-182.4129.33&uuid=78d22d57-0d73-45c6-aa5f-478180725752': connect timed out, response: 200
Solution:
https://blog.csdn.net/qq_28289405/article/details/80895754introduced pom:
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.8</version> <scope>provided</scope> </dependency>
Specific effects: