import A.Companion.run open class Action { fun run(t: T){} } open class A { companion object : Action() { } } class B : A() { fun foo() { run("") } }