lombok (projectlombok/lombok)
Searching Database…
What is this?
Project Lombok is a Java library that plugs into your editor and build tools to eliminate boilerplate: annotations generate getters, equals methods, builders, logging variables, and more.
How does it generate the code — do I call it like a regular library?
No — you write normal classes and add Lombok annotations. It hooks into your editor and build tools and generates the methods for you, so there is nothing to call in your code.
How do I add it to my project?
The README points to projectlombok.org, which has a short tutorial covering how to download, use, and install Lombok with your editor and build tool.
What's the deal with the license — can I just use it?
Terms live in the repo's LICENSE file, which the README refers you to. The library itself is free to use; professional support is offered through a paid Tidelift subscription.
What boilerplate does it actually take over?
Getters and equals methods you would otherwise hand-write, a fully featured builder from a single annotation, and automated logging variables — among other things.
Is this a fresh experiment or a battle-tested project?
Battle-tested: the repository dates back to June 2009 and has roughly 13,500 GitHub stars.
What are similar projects?
auto, butterknife, laravel-ide-helper, javapoet, closure-compiler, androidannotations, gradle, intellij-community
Which topics is it in?
annotations, jvm, boilerplate, build-tool, ide, code-generation, code-quality, programming, editor, utility, java, productivity