Äquivalent zu Paramsschlüsselwort in Java

public void foo(Object... bar) {
    for (Object baz : bar) {
        System.out.println(baz.toString());
    }
}
Pixel Freak