Join Slack
Powered by
Does anyone know a way to use Java reflection to c...
# announcements
s
sargunv
07/06/2016, 1:54 AM
Does anyone know a way to use Java reflection to check a Kotlin field's nullability? I thought I could check for the
org.jetbrains.annotations.Nullable
annotation, but it apparently it's not retained at runtime. I know it's possible using the
kotlin-reflect
library, but I'd like to do it with standard Java reflection if possible
2
Views
Open in Slack
Previous
Next