// WITH_RUNTIME class My { fun foo() {} } val x = My().apply(My::foo)