// "Create extension function 'Test.invoke'" "true" class Test fun test() { var t = Test() t{ } } private operator fun Test.invoke(function: () -> Unit) { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. }