class Wrapper { var baseUrl: String field = baseUrl get set constructor(baseUrl: String) /* primary */ { super/*Any*/() /* () */ } } enum class ConfigurationParameter : Enum { BASE_URL = ConfigurationParameter(apply = local fun (value: String, nc: Wrapper) { println(message = "Base url updated from config parameters ".plus(other = nc.()).plus(other = " -> ").plus(other = value)) nc.( = value) } ) private constructor(apply: Function2) { super/*Enum*/() /* () */ } fun valueOf(value: String): ConfigurationParameter /* Synthetic body for ENUM_VALUEOF */ fun values(): Array /* Synthetic body for ENUM_VALUES */ val entries: EnumEntries get(): EnumEntries /* Synthetic body for ENUM_ENTRIES */ }