kirillrakhman
10/04/2015, 12:14 PMKClass
, 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.