metadata

open val metadata: ScriptingBackend_metadata

Let the companion object of the correct subclass be accessed in subclass instances.

Any access to the companion from instance methods should be done using this property, or else the companion object accessed will be the one from where instances was declared.

Sources

jvm source
Link copied to clipboard