ClassKey
annotation class ClassKey(val value: KClass<*> = Nothing::class)(source)
A MapKey annotation for maps with KClass<*> keys.
If your map's keys can be constrained, consider using a custom annotation instead, with a member whose type is KClass<out Something>.
This map key supports MapKey.implicitClassKey.