aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kocel <krzysztof.kocel@gmail.com>2018-10-23 14:03:50 +0200
committerKrzysztof Kocel <krzysztof.kocel@gmail.com>2018-10-23 14:03:50 +0200
commit1a4319e7852db6adfa2b0cfe95d19eef7dfbb562 (patch)
tree52fb4962f0930dfe12c9b2cd3bf610a962e99e85
parente40eab2e343b4c3a7eedf9493aa2a656ec299f69 (diff)
downloadlombok-1a4319e7852db6adfa2b0cfe95d19eef7dfbb562.tar.gz
lombok-1a4319e7852db6adfa2b0cfe95d19eef7dfbb562.tar.bz2
lombok-1a4319e7852db6adfa2b0cfe95d19eef7dfbb562.zip
Added Spring NonNull and Nullable annotations
-rw-r--r--src/core/lombok/core/handlers/HandlerUtil.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/lombok/core/handlers/HandlerUtil.java b/src/core/lombok/core/handlers/HandlerUtil.java
index 296b70b4..ac91447d 100644
--- a/src/core/lombok/core/handlers/HandlerUtil.java
+++ b/src/core/lombok/core/handlers/HandlerUtil.java
@@ -85,6 +85,7 @@ public class HandlerUtil {
"org.jetbrains.annotations.NotNull",
"android.support.annotation.NonNull",
"org.eclipse.jdt.annotation.NonNull",
+ "org.springframework.lang.NonNull"
}));
BASE_COPYABLE_ANNOTATIONS = Collections.unmodifiableList(Arrays.asList(new String[] {
"lombok.NonNull",
@@ -93,6 +94,7 @@ public class HandlerUtil {
"org.jetbrains.annotations.NotNull",
"android.support.annotation.NonNull",
"org.eclipse.jdt.annotation.NonNull",
+ "org.springframework.lang.NonNull",
"javax.annotation.Nullable",
"javax.annotation.CheckForNull",
"edu.umd.cs.findbugs.annotations.UnknownNullness",
@@ -100,6 +102,7 @@ public class HandlerUtil {
"org.jetbrains.annotations.Nullable",
"android.support.annotation.Nullable",
"org.eclipse.jdt.annotation.Nullable",
+ "org.springframework.lang.Nullable"
}));
}