class C {
    public void foo1<caret>(int p1, int p2) {
    }

    public void foo2(
            int p1,
            int p2) {
    }

    public void foo3(int p1,
            int p2) {
    }

    public void foo4(
            int p1, int p2,
            int p3, int p4
    ) {
    }
}
