esaounkine
else
enum class Foo { ONE, TWO, THREE; fun convert(): String = when (this) { ONE -> "one" TWO -> "two" THREE -> "three" } }