aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java')
-rw-r--r--test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java b/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java
new file mode 100644
index 00000000..cffff320
--- /dev/null
+++ b/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java
@@ -0,0 +1,9 @@
+interface NonNullOnParameterOfDefaultMethod {
+ void test(@lombok.NonNull String arg);
+ default void test2(@lombok.NonNull String arg) {
+ if (arg == null) {
+ throw new java.lang.NullPointerException("arg");
+ }
+ System.out.println(arg);
+ }
+}