aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/NonNullWithAlternateException.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/NonNullWithAlternateException.java')
-rw-r--r--test/transform/resource/before/NonNullWithAlternateException.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/transform/resource/before/NonNullWithAlternateException.java b/test/transform/resource/before/NonNullWithAlternateException.java
new file mode 100644
index 00000000..780afc39
--- /dev/null
+++ b/test/transform/resource/before/NonNullWithAlternateException.java
@@ -0,0 +1,9 @@
+//CONF: lombok.nonNull.exceptionType = java.lang.IllegalArgumentException
+
+public class NonNullWithAlternateException {
+ @lombok.NonNull @lombok.Setter private String test;
+
+ public void testMethod(@lombok.NonNull String arg) {
+ System.out.println(arg);
+ }
+}