I would like to reflect over nullability at runtim...
# compiler
m
I would like to reflect over nullability at runtime, but, without using Kotlin reflection (which is very slow and anyway, reduces java interop). Unfortunately the compiler produces org.jetbrains.annotation.Nullable which isn't retained at runtime.
w
Not answering the original question about changing nullability annotation, but you might be interested in Reflekt perhaps https://github.com/JetBrains-Research/reflekt
m
ah, interesting! thanks! you're right, that's interesting
e
We are also working to stabilize https://github.com/JetBrains/kotlin/blob/master/libraries/kotlinx-metadata/jvm/ReadMe.md It is a fast, low-level way to read Kotlin metadata.
👌 2
👀 3