Java
Object's methods are marked as native, so it's easy to understand they are implemented behind the scene
Kotlin
public open class Any {
public open operator fun equals(other: Any?): Boolean
public open fun hashCode(): Int
public open fun toString(): String
}
Any's methods are not marked as native or abstract, so question is next:
When and how Any's methods are generated and why I can't just copy-paste Any class and compile without errors?