activedecay activedecay - 15 days ago 9
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

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

The decompiling may be done inside InteliJ Idea, or using FernFlower https://github.com/fesh0r/fernflower (thanks @Jire)

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