[documentation] mostly the config feature page

This commit is contained in:
Reinier Zwitserloot committed 2020-01-31 00:00:29 +01:00
1 parent 180cfe3f82
commit 6e2b5802be
4 files changed
+44 -38

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ public class ConfigurationKeys {
public static final ConfigurationKey<Boolean> ADD_FINDBUGS_SUPPRESSWARNINGS_ANNOTATIONS = new ConfigurationKey<Boolean>("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.<ul>
* <li>{@code none} (the default) - no annotations are added.</li>
@@ -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<String> delayedWarnings) {