Hey there! I am working on a Java and Kotlin API p...
# compiler
a
Hey there! I am working on a Java and Kotlin API public surface analysis tool (https://android.googlesource.com/platform/tools/metalava/). We used PSI and UAST for this work and I have hit a stumble when trying to check if a KotlinUMethod has a parameter that is of an inline class type. Would anyone have suggestions how to go about it?
I tried to do something like
Copy code
(method.psi() as KotlinUMethod).uastParameters[0].type
but that just ends up returning
float
type if my parameter is
inline class Foo(value: Float)