From 1a4319e7852db6adfa2b0cfe95d19eef7dfbb562 Mon Sep 17 00:00:00 2001 From: Krzysztof Kocel Date: Tue, 23 Oct 2018 14:03:50 +0200 Subject: Added Spring NonNull and Nullable annotations --- src/core/lombok/core/handlers/HandlerUtil.java | 3 +++ 1 file changed, 3 insertions(+) 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" })); } -- cgit