Split out monitor methods out of AnyRef to a separate trait

I thought about this, because we have Scala-js and Scala-native now, And I found :

https://github.com/lampepfl/dotty/issues/1043 .

So I just reposted it here.

1 Like

Hm,I have to reference two link from Kotlin



https://kotlinlang.org/docs/reference/java-interop.html#object-methods