orangy
class X { private companion object { fun f() {} } fun g() { f() // ok } } fun c() { X.f() // cannot access f }