class C { companion object { fun create() = C() } } fun test() { C.Companion.create() }