class C> interface Base { fun foo(c: C<*>) } class Derived : Base { override fun foo(c: C<*>) { throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates. } }