Kotlin: Improve `java/abstract-to-concrete-cast` to handle `when` branches
java/abstract-to-concrete-cast
when