-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
enhancementNew feature or requestNew feature or requestgood-first-issueGood for newcomersGood for newcomerskotlinPull requests that update Kotlin codePull requests that update Kotlin code
Milestone
Description
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?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood-first-issueGood for newcomersGood for newcomerskotlinPull requests that update Kotlin codePull requests that update Kotlin code