mirror of
https://github.com/tiennm99/lombok.git
synced 2026-06-02 22:11:58 +00:00
88bf742e3e107cc0bbfc3a72c2f456d34ef3079c
Related to #1805, this change adds an optional `setterPrefix` parameter to the `Builder` annotation; if this parameter is unspecified or blank the behavior of the `Builder` annotation is unchanged, but if it is present the value specified will be prefixed to the generated methods. For example, using: ``` @Builder(setterPrefix = "include") class Foo { private int someValue; } ``` will result in a generated `Builder` class containing an `includeSomeValue(int someValue)` method instead of the default `someValue(int someValue)`.
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, see https://projectlombok.org/ You can review our security policy via SECURITY.md
Description
Languages
Java
94.5%
HTML
4.8%
JavaScript
0.3%
CSS
0.2%