Is variable assignment statement not supported in ...
# ksp
k
Is variable assignment statement not supported in KSP, like:
Copy code
val visible: Visibility = Visibility.visible;
Besides, is the method call statement not supported in KSP, either? like:
Copy code
LinearLayout()
    .width
I find there is no corresponding api list in ksp api list available at: https://github.com/google/ksp/blob/main/api/src/main/kotlin/com/google/devtools/ksp/visitor/KSDefaultVisitor.kt The annotation, method declaration, property declaration works fine for me.
d
Expression level info isn’t supported by KSP. If it is indeed necessary to get that info, you would probably have to write a compiler plugin. https://kotlinlang.slack.com/archives/C013BA8EQSE/p1604435193088900?thread_ts=1604398979.088500&cid=C013BA8EQSE