Join Slack
Powered by
without @JVMStatic you have to write employee.comp...
# announcements
a
amorenew
06/13/2017, 6:14 PM
without @JVMStatic you have to write employee.companion.name
e
elizarov
06/13/2017, 6:28 PM
You don't have to. You only need annotation for Java interop. It gives no difference for Kotlin use.
👍 2
r
radityagumay
06/13/2017, 6:39 PM
Actually not. @JvmStatic only tell the compalier that field is static. And no difference when you call from kotlin
👍 3
Open in Slack
Previous
Next