blob: dadbb4ee3d681955bb69b55fbdef3a780e6d9ca8 (
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
|
class DelegateWithVarargs {
private Bar bar;
private interface Bar {
void justOneParameter(int... varargs);
void multipleParameters(String first, int... varargs);
void array(int[] array);
void arrayVarargs(int[]... arrayVarargs);
}
@java.lang.SuppressWarnings("all")
public void justOneParameter(final int... varargs) {
this.bar.justOneParameter(varargs);
}
@java.lang.SuppressWarnings("all")
public void multipleParameters(final java.lang.String first, final int... varargs) {
this.bar.multipleParameters(first, varargs);
}
@java.lang.SuppressWarnings("all")
public void array(final int[] array) {
this.bar.array(array);
}
@java.lang.SuppressWarnings("all")
public void arrayVarargs(final int[]... arrayVarargs) {
this.bar.arrayVarargs(arrayVarargs);
}
}
|