interface Some { fun foo(some : Int?) : Int } class SomeOther : Some { override fun foo(some: Int?): Int { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } }