class AA { companion object { operator fun invoke() {} } } fun main() { AA() }