From 9d8c4e4099bef9b7854cc5d77bc996c3b3bf0e41 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 6 Oct 2015 00:25:32 +0200 Subject: New feature: FieldDefaults can now be configured to apply to _every_ file, regardless of annotations. --- website/features/experimental/FieldDefaults.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'website/features/experimental') diff --git a/website/features/experimental/FieldDefaults.html b/website/features/experimental/FieldDefaults.html index 5ad30952..026f23fc 100644 --- a/website/features/experimental/FieldDefaults.html +++ b/website/features/experimental/FieldDefaults.html @@ -61,6 +61,10 @@
lombok.fieldDefaults.flagUsage = [warning | error] (default: not set)
Lombok will flag any usage of @FieldDefaults as a warning or error if configured.
+
lombok.fieldDefaults.defaultPrivate = [true | false] (default: false)
+
(Since 1.16.8) If set to true, every field in every class or enum anywhere in the sources being compiled will be marked as private unless it has an explicit access modifier or the @PackagePrivate annotation, or an explicit @FieldDefaults annotation is present to override this config key.
+
lombok.fieldDefaults.defaultFinal = [true | false] (default: false)
+
(Since 1.16.8) If set to true, every field in every class or enum anywhere in the sources being compiled will be marked as final unless it has the @NonFinal annotation, or an explicit @FieldDefaults annotation is present to override this config key.
-- cgit