localDelegatedProperties

Metadata of local delegated properties used somewhere inside this class (but not in a nested class). Note that for classes produced by the Kotlin compiler, such properties will have default accessors.

The order of local delegated properties in this list is important. The Kotlin compiler generates the corresponding property's index at the call site, so that reflection would be able to load the metadata of the property with that index at runtime. If an incorrect index is used, either the KProperty<*> object passed to delegate methods will point to the wrong property at runtime, or an exception will be thrown.


Metadata of local delegated properties used somewhere inside this package fragment (but not in any class). Note that for classes produced by the Kotlin compiler, such properties will have default accessors.

The order of local delegated properties in this list is important. The Kotlin compiler generates the corresponding property's index at the call site, so that reflection would be able to load the metadata of the property with that index at runtime. If an incorrect index is used, either the KProperty<*> object passed to delegate methods will point to the wrong property at runtime, or an exception will be thrown.