Support @JvmStatic on generated Kotlin builders #767
Labels
enhancement
New feature or request
good-first-issue
Good for newcomers
kotlin
Pull requests that update Kotlin code
Milestone
Is your feature request related to a problem? Please describe.
I want to convert a project that is using the Java code generation to Kotlin in a codebase that relies heavily on generated builders. In order for the Kotlin code to be backwards compatible with the old Java code, the generated builders need a @JvmStatic annotation so they can be referenced like static methods from Java.
Describe the solution you'd like
Is there a way to configure the code generation to place a @JvmStatic annotation on the builder in the generated companion object?
The text was updated successfully, but these errors were encountered: