package something interface Some { fun someFoo() fun someOtherFoo() : Int fun someGenericFoo() : T } class SomeOther : Some { override fun someFoo() { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } override fun someGenericFoo(): S { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } override fun someOtherFoo(): Int { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } }