As @Vadzim said, in IntelliJ or Android Studio, you just have to do the following to get java code from kotlin:
How do I enable decompile Kotlin in Java?
As @Vadzim said, in IntelliJ or Android Studio, you just have to do the following to get java code from kotlin: