Currently we have Kotlin methods that accept `KCla...
# announcements
k
Currently we have Kotlin methods that accept
KClass
, Java methods that accept
Class
and annotations that accept
KClass
, no matter whether they were declared in Kotlin or Java. Couldn't we allow calling Java methods accepting
Class
with parameters of type
KClass
and let the compiler convert it to
KClass
? After all we have the same machanism for Java SAM interfaces where we can call them using lambdas.