diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-10-29 21:06:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 21:06:26 +0100 |
commit | 4cf36b2788198e23f05a2ac218a2face755056ba (patch) | |
tree | c1878377d53b02cfa83d2595a318d328ebdd7cb4 | |
parent | fb039c2837430caafbfc165bc4d5cc898e6a9c34 (diff) | |
parent | 1a4319e7852db6adfa2b0cfe95d19eef7dfbb562 (diff) | |
download | lombok-4cf36b2788198e23f05a2ac218a2face755056ba.tar.gz lombok-4cf36b2788198e23f05a2ac218a2face755056ba.tar.bz2 lombok-4cf36b2788198e23f05a2ac218a2face755056ba.zip |
Merge pull request #1917 from kkocel/master
Added Spring NonNull and Nullable annotations
-rw-r--r-- | src/core/lombok/core/handlers/HandlerUtil.java | 3 |
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" })); } |