mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
16 lines
305 B
Java
16 lines
305 B
Java
|
|
class Foo {
|
|
|
|
public static final Bar[] bars= new Bar[] {Bar.callMe("a", 0, "A", "B", "C"), Bar.callMe("b", 1, "A", "B")};
|
|
}
|
|
|
|
|
|
class Bar {
|
|
|
|
public Bar(String a, int nr, String... args) {
|
|
}
|
|
|
|
public static Bar call<caret>Me(String a, int nr, String ... args) {
|
|
return new Bar(a, nr, args);
|
|
}
|
|
} |