Commit bfdb21d
committed
Kotlin: support JvmStatic annotation
This makes non-companion object methods into static methods, and for companion objects introduces static proxy methods that call the companion instance method.
Note this doesn't quite implement what kotlinc does, since it will also eliminate getters and setters by promoting an object field into a static field, but our translation is simpler and only differs in private members' details.1 parent 28c05e7 commit bfdb21d
File tree
2 files changed
+222
-95
lines changed- java/kotlin-extractor/src/main/kotlin
2 files changed
+222
-95
lines changed
0 commit comments