mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
IDEA-126171
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user