activedecay activedecay - 1 year ago 155
Java Question

How to convert a kotlin source file to a java source file

I have a Kotlin source file, but I want to translate it to Java.

How can I convert Kotlin to Java source?

Answer Source

You can compile Kotlin to bytecode, then use a Java disassembler.

The decompiling may be done inside InteliJ Idea, or using FernFlower (thanks @Jire)

There was no automated tool as I checked a couple months ago (and no plans for one AFAIK)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download