aboutsummaryrefslogtreecommitdiff
path: root/website/templates/features/configuration.html
diff options
context:
space:
mode:
Diffstat (limited to 'website/templates/features/configuration.html')
-rw-r--r--website/templates/features/configuration.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/website/templates/features/configuration.html b/website/templates/features/configuration.html
index 642332a0..4f861287 100644
--- a/website/templates/features/configuration.html
+++ b/website/templates/features/configuration.html
@@ -70,7 +70,7 @@
</@f.overview>
<@f.featureSection>
- <h3>Global config keys</h3>
+ <@f.main.h3 title="Global config keys" />
<p>
To stop lombok from looking at parent directories for more configuration files, the special key:
@@ -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:
@@ -98,7 +100,7 @@
</@f.featureSection>
<@f.featureSection>
- <h3>Config keys that can affect any source file</h3>
+ <@f.main.h3 title="Config keys that can affect any source file" />
<p>
These config keys can make lombok affect source files even if they have 0 lombok annotations in them.<br />