IDEA-126171

This commit is contained in:
Alexey Kudravtsev
2014-07-02 13:29:29 +04:00
parent 5a48d2c129
commit 48bfcde50a
4 changed files with 51 additions and 9 deletions
@@ -0,0 +1,12 @@
class VarArgs {
private void g() {
f<flown111>("d",1,2,3);
}
void f(String value,int... <flown11>i) {
v(value, <flown1>i);
}
private void v(String value, int... <caret>ints) {
}
}
@@ -0,0 +1,14 @@
class VarArgs {
private static void foo(String value, int...<flown11>ints) {
System.out.println(value + " " + java.util.Arrays.asList(ints));
int <caret>anInt = <flown1>ints[1];
}
private static void bar(String value, int...<flown1111>ints) {
foo(value, <flown111>ints);
}
private static void baz(String value) {
bar<flown11111>("d", <flown111111>2, <flown111112>3, <flown111113>4);
}
}