aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-05-16 00:25:08 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 21:03:04 +0200
commitf447b13adb346ad92ab0c33d073a158ea5c968b5 (patch)
tree837390ea98b4ad77015d8474b43fe6397fdce831
parent32d46a28e8d4c89e14a20b424a69bbf587140900 (diff)
downloadlombok-f447b13adb346ad92ab0c33d073a158ea5c968b5.tar.gz
lombok-f447b13adb346ad92ab0c33d073a158ea5c968b5.tar.bz2
lombok-f447b13adb346ad92ab0c33d073a158ea5c968b5.zip
update to refer to lombok.Generated vs javax.annotation.Generated in docs.
-rw-r--r--website/templates/features/configuration.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/website/templates/features/configuration.html b/website/templates/features/configuration.html
index d33ae1c5..642332a0 100644
--- a/website/templates/features/configuration.html
+++ b/website/templates/features/configuration.html
@@ -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: