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