Like ``` class IntUtils { companion object { }...
# android
k
Like
Copy code
class IntUtils {
    companion object { }
}

fun Utils.companion.toString(n: Int) {

}

//then you can use
IntUtils.toString(i)