[Java - Lombok] Lombok plugs into your editor and build tools to spicing up your java automatically

lombok

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 facilitates many tedious tasks and reduces Java source code verbosity by annotation processing through APT.

Installation

Gradle

1
2
3
4
5
6
7
8
9
10
11
// build.gradle

ext {
lombokVersion = '1.18.22'
}

dependencies {
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
implementation("org.projectlombok:lombok:${lombokVersion}")
}

Usages

TODO

References

[1] Project Lombok - https://projectlombok.org/

[2] Setting up Lombok with Eclipse and Intellij | Baeldung - https://www.baeldung.com/lombok-ide

[3] Lombok - plugin for IntelliJ IDEA and Android Studio | JetBrains - https://plugins.jetbrains.com/plugin/6317-lombok

[4] Lombok Maven Plugin – - http://anthonywhitford.com/lombok.maven/lombok-maven-plugin/index.html

[5] Lombok Annotations Support for VS Code - Visual Studio Marketplace - https://marketplace.visualstudio.com/items?itemName=GabrielBB.vscode-lombok