interface Runnable { fun run() } class A : Runnable { fun foo() { } override fun run() { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } }