aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/NonNullWithAlternateException.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/NonNullWithAlternateException.java b/test/transform/resource/after-delombok/NonNullWithAlternateException.java
new file mode 100644
index 00000000..d4a2f657
--- /dev/null
+++ b/test/transform/resource/after-delombok/NonNullWithAlternateException.java
@@ -0,0 +1,17 @@
+public class NonNullWithAlternateException {
+ @lombok.NonNull
+ private String test;
+ public void testMethod(@lombok.NonNull String arg) {
+ if (arg == null) {
+ throw new java.lang.IllegalArgumentException("arg");
+ }
+ System.out.println(arg);
+ }
+ @java.lang.SuppressWarnings("all")
+ public void setTest(@lombok.NonNull final String test) {
+ if (test == null) {
+ throw new java.lang.IllegalArgumentException("test");
+ }
+ this.test = test;
+ }
+} \ No newline at end of file