class Foo { private fun foo() { class Local { fun call() {} } Local().call() } }