Tip: How to show Java equivalent for Kotlin code
It’s important to understand how Kotlin code works and how it influences performance. Fortunately, IntelliJ and Android Studio allow to instantly see bytecode and Java equivalent.
Display bytecode: Tools -> Kotlin -> Show Kotlin Bytecode
Or just: cmd + shift + A (Mac) / ctrl + shift + A (Windows) and type “Kotlin Bytecode”
Display java equivalent: just click “Decompile” button on the top of “Kotlin Bytecode” window.
PS. Decompile button is available only if you have installed and enabled plugin “Java Bytecode Decompiler”