// "Create function 'foo'" "true" class A { val baz = 1 fun test() { val a: A = foo() } private fun foo(): A { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. } fun bar() { } }