mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +00:00
fix issue #932: @Delegate would not generate varargs on javac
This commit is contained in:
1 parent
d3c79494a3
commit
34a6fd644f
5 files changed
+74
-3
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user