mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
update to refer to lombok.Generated vs javax.annotation.Generated in docs.
This commit is contained in:
1 parent
32d46a28e8
commit
f447b13adb
1 file changed
+7
-1
@@ -81,7 +81,13 @@
|
||||
</p><p>
|
||||
Lombok normally adds <code>@javax.annotation.Generated</code> annotations to all generated nodes where possible. You can stop this with:
|
||||
<div class="snippet example">
|
||||
<code>lombok.addGeneratedAnnotation = false</code>
|
||||
<code>lombok.addJavaxGeneratedAnnotation = false</code>
|
||||
</div>
|
||||
</p><p>
|
||||
Lombok can be configured to add <code>@lombok.Generated</code> annotations to all generated nodes where possible; useful for JaCoCo (which has built in support),
|
||||
or other style checkers and code coverage tools:
|
||||
<div class="snippet example">
|
||||
<code>lombok.addLombokGeneratedAnnotation = true</code>
|
||||
</div>
|
||||
</p><p>
|
||||
Lombok can add the <code>@SuppressFBWarnings</code> annotation which is useful if you want to run <a href="http://findbugs.sourceforge.net/">FindBugs</a> on your class files. To enable this feature, make sure findbugs is on the classpath when you compile, and add the following config key:
|
||||
|
||||
Reference in new issue
Block a user