diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-29 04:05:27 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-29 04:06:23 +0100 |
commit | 72561d742884e857bc11cca290be26d9d04ec937 (patch) | |
tree | 91b306c56ef56ed35a8aa263ba311bae95ead9bf /website/templates/features | |
parent | af8c2bf8e5770d2d5a1f74a2b4959ceefb5ed03e (diff) | |
download | lombok-72561d742884e857bc11cca290be26d9d04ec937.tar.gz lombok-72561d742884e857bc11cca290be26d9d04ec937.tar.bz2 lombok-72561d742884e857bc11cca290be26d9d04ec937.zip |
javax.annotation.Generated will no longer be applied by default (Oracle broke it with JDK9).
Diffstat (limited to 'website/templates/features')
-rw-r--r-- | website/templates/features/configuration.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/website/templates/features/configuration.html b/website/templates/features/configuration.html index 0491d832..4f861287 100644 --- a/website/templates/features/configuration.html +++ b/website/templates/features/configuration.html @@ -79,10 +79,12 @@ </div> can be included. We suggest you put this in the root of your workspace directory. </p><p> - Lombok normally adds <code>@javax.annotation.Generated</code> annotations to all generated nodes where possible. You can stop this with: + Lombok can add <code>@javax.annotation.Generated</code> annotations to all generated nodes where possible. You can enable this with: <div class="snippet example"> - <code>lombok.addJavaxGeneratedAnnotation = false</code> + <code>lombok.addJavaxGeneratedAnnotation = true</code> </div> + We advise against this; JDK9 breaks this annotation, and it's unlikely to ever get fixed.<br /> + <em>NB:</em> Until Lombok v2.0.0, this setting defaulted to <code>true</code>. </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: |