import kotlin.reflect.KProperty1 class Q { val s = "OK" } enum class PropEnum(val prop: KProperty1) { ELEM(Q::s) } fun box() = PropEnum.ELEM.prop.get(Q())