AssociatedObjectKey

Makes the annotated annotation class an associated object key.

An associated object key annotation should have single KClass parameter. When applied to a class with reference to an object declaration as an argument, it binds the object to the class, making this binding discoverable at runtime using findAssociatedObject.

Since Kotlin

1.1

Makes the annotated annotation class an associated object key.

An associated object key annotation should have single KClass parameter. When applied to a class with reference to an object declaration as an argument, it binds the object to the class, making this binding discoverable at runtime using findAssociatedObject.

Since Kotlin

1.3

Makes the annotated annotation class an associated object key.

An associated object key annotation should have single KClass parameter. When applied to a class with reference to an object declaration as an argument, it binds the object to the class, making this binding discoverable at runtime using findAssociatedObject.

Since Kotlin

1.8

Makes the annotated annotation class an associated object key.

An associated object key annotation should have single KClass parameter. When applied to a class with reference to an object declaration as an argument, it binds the object to the class, making this binding discoverable at runtime using findAssociatedObject.

Since Kotlin

1.8