class AA { companion object { fun x() = 10 } } fun main() { AA.Companion.x() }