From 72561d742884e857bc11cca290be26d9d04ec937 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot
Date: Wed, 29 Nov 2017 04:05:27 +0100
Subject: javax.annotation.Generated will no longer be applied by default
(Oracle broke it with JDK9).
---
website/templates/features/configuration.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'website/templates')
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 @@
can be included. We suggest you put this in the root of your workspace directory.
- Lombok normally adds @javax.annotation.Generated
annotations to all generated nodes where possible. You can stop this with:
+ Lombok can add @javax.annotation.Generated
annotations to all generated nodes where possible. You can enable this with:
- lombok.addJavaxGeneratedAnnotation = false
+ lombok.addJavaxGeneratedAnnotation = true
+ We advise against this; JDK9 breaks this annotation, and it's unlikely to ever get fixed.
+ NB: Until Lombok v2.0.0, this setting defaulted to true
.
Lombok can be configured to add @lombok.Generated
annotations to all generated nodes where possible; useful for JaCoCo (which has built in support),
or other style checkers and code coverage tools:
--
cgit