January 2018
Intermediate to advanced
434 pages
14h 1m
English
We are aware of the fact that Kotlin plays with properties rather than fields in Java. However, to provide compatibility with the Java language, @JvmField can be used to instruct the Kotlin compiler not to generate getters–setters for this property and expose it as a field.
However, there are a few restrictions when using annotations. We can't use them with the following:
Read now
Unlock full access