mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 16:15:29 +00:00
cdfb0f551e4c856b7dac29ce5aea6dddbe711174
@CheckReturnValue] Add @lombok.CheckReturnValue to generated methods where the return value should not be ignored.
Adds the annotation to @With, @WithBy, @Builder.build(), and @SuperBuilder.build() methods. Controlled via lombok.addCheckReturnValueAnnotation config key (default: true). Static analysis tools (Error Prone, IntelliJ, SpotBugs) recognize @CheckReturnValue by simple name and will warn when the return value is discarded.
Project 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.
See LICENSE for the Project Lombok license.
Looking for professional support of Project Lombok? Lombok is now part of a tidelift subscription!
For a list of all authors, see the AUTHORS file.
For complete project information, a short tutorial on what lombok does, and how to download / use / install it, see projectlombok.org
You can review our security policy via SECURITY.md
Description
Very spicy additions to the Java programming language.
83 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
94.6%
HTML
4.8%
JavaScript
0.2%
CSS
0.2%