without @JVMStatic you have to write employee.comp...
# announcements
a
without @JVMStatic you have to write employee.companion.name
e
You don't have to. You only need annotation for Java interop. It gives no difference for Kotlin use.
👍 2
r
Actually not. @JvmStatic only tell the compalier that field is static. And no difference when you call from kotlin
👍 3