aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorMichael Ernst <mernst@cs.washington.edu>2019-01-02 10:01:13 -0800
committerRoel Spilker <r.spilker@gmail.com>2019-01-15 00:10:53 +0100
commit3fdc1e96947ea0d15f3e00fefb28f8fb14c312b9 (patch)
tree8c7a5e33fad5473474ff3718f9114570adf6442c /src/core/lombok
parent32d8e2f8509707987ba3b38c96270e4916dc35d7 (diff)
downloadlombok-3fdc1e96947ea0d15f3e00fefb28f8fb14c312b9.tar.gz
lombok-3fdc1e96947ea0d15f3e00fefb28f8fb14c312b9.tar.bz2
lombok-3fdc1e96947ea0d15f3e00fefb28f8fb14c312b9.zip
Add Checker Framework NonNull and Nullable annotations
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/core/handlers/HandlerUtil.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/lombok/core/handlers/HandlerUtil.java b/src/core/lombok/core/handlers/HandlerUtil.java
index ac91447d..7bc914fa 100644
--- a/src/core/lombok/core/handlers/HandlerUtil.java
+++ b/src/core/lombok/core/handlers/HandlerUtil.java
@@ -85,7 +85,8 @@ public class HandlerUtil {
"org.jetbrains.annotations.NotNull",
"android.support.annotation.NonNull",
"org.eclipse.jdt.annotation.NonNull",
- "org.springframework.lang.NonNull"
+ "org.springframework.lang.NonNull",
+ "org.checkerframework.checker.nullness.qual.NonNull"
}));
BASE_COPYABLE_ANNOTATIONS = Collections.unmodifiableList(Arrays.asList(new String[] {
"lombok.NonNull",
@@ -95,6 +96,7 @@ public class HandlerUtil {
"android.support.annotation.NonNull",
"org.eclipse.jdt.annotation.NonNull",
"org.springframework.lang.NonNull",
+ "org.checkerframework.checker.nullness.qual.NonNull",
"javax.annotation.Nullable",
"javax.annotation.CheckForNull",
"edu.umd.cs.findbugs.annotations.UnknownNullness",
@@ -102,7 +104,8 @@ public class HandlerUtil {
"org.jetbrains.annotations.Nullable",
"android.support.annotation.Nullable",
"org.eclipse.jdt.annotation.Nullable",
- "org.springframework.lang.Nullable"
+ "org.springframework.lang.Nullable",
+ "org.checkerframework.checker.nullness.qual.Nullable"
}));
}