Marko Mitic
05/07/2019, 4:02 PMconst val
? If not, are there any plans to make if possible in future?
companion object {
//both these aren't constant expressions to compiler
const val LOG_TAG1 = this.javaClass.simpleName
const val LOG_TAG2 = MainActivity::class.simpleName!!
}
Obfuscation mangles class names so having them assigned to constants before obfuscation pass would be greatly useful.