enum class Enum : Enum { private constructor() /* primary */ { super/*Enum*/() /* () */ } A = Enum() fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): Enum /* Synthetic body for ENUM_VALUEOF */ val entries: EnumEntries get(): EnumEntries /* Synthetic body for ENUM_ENTRIES */ } object A { private constructor() /* primary */ { super/*Any*/() /* () */ } } val a: Int field = 0 get class Z { constructor() /* primary */ { super/*Any*/() /* () */ } companion object Companion { private constructor() /* primary */ { super/*Any*/() /* () */ } } } fun test1(): Enum { return Enum.A } fun test2(): A { return A } fun test3(): Int { return () } fun test4(): Companion { return Companion }