Open vmishenev opened 9 months ago
It's unclear whether it should be part of analysis API, but at the very least we can use the publicly exposed JavaToKotlinClassMap
from kotlin.reflect
.
Needs more research, not a blocker for the release.
__
Is it blocking?
JavaToKotlinClassMap
is from the compiler artifact. After removing the compiler from dependencies in Dokka K2,JavaToKotlinClassMap
can be unavailable. We can use it from reflection, butkotlin.reflect.jvm.internal.impl.builtins.jvm.JavaToKotlinClassMap
is internal and is not stable. It needs to find a substitution ofJavaToKotlinClassMap
.Possible solutions
KtJvmTypeMapperMixIn
from Analysis API. Can Dokka use it?