I’m trying to get the class type from a `KtClass` ...
# intellij-plugins
k
I’m trying to get the class type from a
KtClass
instance. This seems to work in other contexts, but for some reason I’m stuck in one specific case. I have a
KtProperty
and am trying to get the type of it’s parent
KtClass
. I’m quite new to the Kotlin PSI, so I’m mostly just hacking around to figure things out. I’m sure I’m doing something quite wrong, but any tips would be appreciated. More detail here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006941519-Getting-class-type-from-KtClass
Figured this out eventually…