From 6e2b5802beded1dc3c965d18ecda7f3d90b7e761 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 31 Jan 2020 00:00:22 +0100 Subject: [documentation] mostly the config feature page --- src/core/lombok/ConfigurationKeys.java | 2 +- src/core/lombok/core/AnnotationProcessor.java | 2 +- website/templates/_scaffold.html | 32 +++++++++++++------ website/templates/features/configuration.html | 46 ++++++++++++--------------- 4 files changed, 44 insertions(+), 38 deletions(-) diff --git a/src/core/lombok/ConfigurationKeys.java b/src/core/lombok/ConfigurationKeys.java index 559fff92..86cb4650 100644 --- a/src/core/lombok/ConfigurationKeys.java +++ b/src/core/lombok/ConfigurationKeys.java @@ -91,7 +91,7 @@ public class ConfigurationKeys { public static final ConfigurationKey ADD_FINDBUGS_SUPPRESSWARNINGS_ANNOTATIONS = new ConfigurationKey("lombok.extern.findbugs.addSuppressFBWarnings", "Generate @edu.umd.cs.findbugs.annotations.SuppressFBWarnings on all generated code (default: false).") {}; /** - * lombok configuration: {@code lombok.addNullAnnotations = one of: [{@code none}, {@code javax}, {@code eclipse}, {@code jetbrains}, {@code netbeans}, {@code androidx}, {@code android.support}, {@code checkerframework}, {@code findbugs}, {@code spring}, {@code JML}, or a custom set of fully qualified annotation types]. + * lombok configuration: {@code lombok.addNullAnnotations = }one of: [{@code none}, {@code javax}, {@code eclipse}, {@code jetbrains}, {@code netbeans}, {@code androidx}, {@code android.support}, {@code checkerframework}, {@code findbugs}, {@code spring}, {@code JML}, or a custom set of fully qualified annotation types]. * * Lombok generally copies relevant nullity annotations from your source code to the right places. However, sometimes lombok generates code where the nullability of some node is not dependent on something in your source code. You can configure lombok to add an appropriate nullity annotation in this case.
    *
  • {@code none} (the default) - no annotations are added.
  • diff --git a/src/core/lombok/core/AnnotationProcessor.java b/src/core/lombok/core/AnnotationProcessor.java index 46e3b1af..ce93a069 100644 --- a/src/core/lombok/core/AnnotationProcessor.java +++ b/src/core/lombok/core/AnnotationProcessor.java @@ -99,7 +99,7 @@ public class AnnotationProcessor extends AbstractProcessor { private Processor processor; @Override String getName() { - return "sun/apple javac 1.6"; + return "OpenJDK javac"; } @Override boolean want(ProcessingEnvironment procEnv, List delayedWarnings) { diff --git a/website/templates/_scaffold.html b/website/templates/_scaffold.html index a03f6ef9..39e03bb2 100644 --- a/website/templates/_scaffold.html +++ b/website/templates/_scaffold.html @@ -76,7 +76,7 @@ ga('send', 'pageview');