ClassKey
annotation class ClassKey(val value: KClass<*>)(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>
.