fun foo() { val a = MyClass().apply { setFoo(1) setBar(2) setBaz(3) } }