Hi,
MainActivity_ is subclass of MainActivity
java code generate the correct class name
CDAppLogger.d("MainActivity_ " + MainActivity_.class.getCanonicalName()); => com.example.ui.home.MainActivity_
CDAppLogger.d("MainActivity " + MainActivity.class.getCanonicalName()); => com.example.ui.home.MainActivity
but same converted Kotlin code gives me same class name
CDAppLogger.d("MainActivity_ " + MainActivity_::class.java.canonicalName) => com.example.ui.home.MainActivity
CDAppLogger.d("MainActivity " + MainActivity::class.java.canonicalName)=> com.example.ui.home.MainActivity
Android Studio 3.0 Canary 8, Build #AI-171.4195411, built on July 20, 2017
JRE: 1.8.0_152-release-884-b01 x86_64
JVM: OpenJDK 64-bit Server VM by JetBrains s.r.o
Kotlin language support Version: 1.1.3-release-Studio3.0-2
Thanks