blob: 71a0ca5a5ea60809f2f652b4b573fcdc0cfca286 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import lombok.experimental.Delegate;
class DelegateWithVarargs {
private interface Bar {
void justOneParameter(int... varargs);
void multipleParameters(String first, int... varargs);
void array(int[] array);
void arrayVarargs(int[]... arrayVarargs);
}
private @Delegate Bar bar;
DelegateWithVarargs() {
super();
}
public @java.lang.SuppressWarnings("all") void array(final int[] array) {
this.bar.array(array);
}
public @java.lang.SuppressWarnings("all") void arrayVarargs(final int[]... arrayVarargs) {
this.bar.arrayVarargs(arrayVarargs);
}
public @java.lang.SuppressWarnings("all") void justOneParameter(final int... varargs) {
this.bar.justOneParameter(varargs);
}
public @java.lang.SuppressWarnings("all") void multipleParameters(final java.lang.String first, final int... varargs) {
this.bar.multipleParameters(first, varargs);
}
}
|