To generate JVM static elements from our Kotlin code, we'll make use of the @JvmStatic annotation. The @JvmStatic annotation can be applied to properties and methods in named objects and companion objects.
To generate JVM static elements from our Kotlin code, we'll make use of the @JvmStatic annotation. The @JvmStatic annotation can be applied to properties and methods in named objects and companion objects.