« 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

kotlin_bytecode_1.png

kotlin_bytecode_2.png

kotlin_bytecode_3.png