Kotlin to Java feature
已回答
I think a feature to turn Kotlin code into Java code would be helpful, thoughts?
请先登录再写评论。
Hi Caleb Koopman,
Thanks for opening the discussion for this feature.
Currently, an unofficial way to achieve this is to use the IntelliJ IDEA built-in functionality, which allows you to view your Kotlin bytecode and then decompile it into Java. You can find details about how to do it in this thread.
There's also a third-party plugin called “Kotlin to Java decompiler,” but it looks like the owner has not provided maintenance for it in a while. It basically proposes the same steps with some automation for the last steps.
Please, if you want to push for this feature, I invite you to add the feature request in our YouTrack site https://youtrack.jetbrains.com/ with some more details about the expected behavior.
Hi Caleb Koopman
I opened a new request feature for your suggestion, KTIJ-35739. You can subscribe to follow the progress and upvote it to give more visibility.