aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DelegateWithVarargs.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/DelegateWithVarargs.java')
-rw-r--r--test/transform/resource/before/DelegateWithVarargs.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateWithVarargs.java b/test/transform/resource/before/DelegateWithVarargs.java
new file mode 100644
index 00000000..0c266620
--- /dev/null
+++ b/test/transform/resource/before/DelegateWithVarargs.java
@@ -0,0 +1,12 @@
+import lombok.experimental.Delegate;
+
+class DelegateWithVarargs {
+ @Delegate private Bar bar;
+
+ private interface Bar {
+ void justOneParameter(int... varargs);
+ void multipleParameters(String first, int... varargs);
+ void array(int[] array);
+ void arrayVarargs(int[]... arrayVarargs);
+ }
+} \ No newline at end of file