import kotlin.reflect.KClass fun box(): String { try { javaClass() as KClass } catch (e: Exception) { return "OK" } return "fail" }