I want to parse Kotlin code from Java (or actually...
# announcements
I want to parse Kotlin code from Java (or actually Clojure, but Java is fine). I found this link explaining how to do it:
Copy code
Now I have converted that Kotlin code to Clojure, but when I try to access this field:
Copy code
public final val importList: org.jetbrains.kotlin.psi.KtImportList?
Living in this class:
Copy code
In this library:
Copy code
org.jetbrains.kotlin/kotlin-compiler-embeddable "1.3.72"
The problem is that this field is a val and that it's not annotated with @JvmField (that is my guess) and therefore I don't know how to access it. Can I use reflection or is there another way?