FILE fqName: fileName:/enumWithSecondaryCtor.kt CLASS ENUM_CLASS name:Test0 modality:FINAL visibility:public flags: $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:Test0 flags: superClasses: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Enum modality:ABSTRACT visibility:public flags: CONSTRUCTOR visibility:private <> (x:kotlin.Int) returnType:Test0 flags:primary VALUE_PARAMETER name:x index:0 type:kotlin.Int flags: BLOCK_BODY ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' >: Test0 INSTANCE_INITIALIZER_CALL classDescriptor='Test0' PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final EXPRESSION_BODY GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:Test0) returnType:Int flags: correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val $this: VALUE_PARAMETER name: type:Test0 flags: BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR 'this@Test0: Test0' type=Test0 origin=null ENUM_ENTRY name:ZERO init: ENUM_CONSTRUCTOR_CALL 'constructor Test0()' CONSTRUCTOR visibility:private <> () returnType:Test0 flags: BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Test0(Int)' x: CONST Int type=kotlin.Int value=0 FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(Test0..Test0?)>..java.lang.Class<(Test0..Test0?)>?) flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(E..E?)>..java.lang.Class<(E..E?)>?) flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:Test0) returnType:Int flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:Test0 flags: FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags: FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val overridden: FUN IR_EXTERNAL_DECLARATION_STUB name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val overridden: FUN IR_EXTERNAL_DECLARATION_STUB name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN ENUM_CLASS_SPECIAL_MEMBER name:values visibility:public modality:FINAL <> () returnType:Array flags: SYNTHETIC_BODY kind=ENUM_VALUES FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:Test0 flags: VALUE_PARAMETER name:value index:0 type:kotlin.String flags: SYNTHETIC_BODY kind=ENUM_VALUEOF CLASS ENUM_CLASS name:Test1 modality:FINAL visibility:public flags: $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:Test1 flags: superClasses: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Enum modality:ABSTRACT visibility:public flags: CONSTRUCTOR visibility:private <> (x:kotlin.Int) returnType:Test1 flags:primary VALUE_PARAMETER name:x index:0 type:kotlin.Int flags: BLOCK_BODY ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' >: Test1 INSTANCE_INITIALIZER_CALL classDescriptor='Test1' PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final EXPRESSION_BODY GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:Test1) returnType:Int flags: correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val $this: VALUE_PARAMETER name: type:Test1 flags: BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null ENUM_ENTRY name:ZERO init: ENUM_CONSTRUCTOR_CALL 'constructor Test1()' ENUM_ENTRY name:ONE init: ENUM_CONSTRUCTOR_CALL 'constructor Test1(Int)' x: CONST Int type=kotlin.Int value=1 CONSTRUCTOR visibility:private <> () returnType:Test1 flags: BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Test1(Int)' x: CONST Int type=kotlin.Int value=0 FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(Test1..Test1?)>..java.lang.Class<(Test1..Test1?)>?) flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(E..E?)>..java.lang.Class<(E..E?)>?) flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:Test1) returnType:Int flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:Test1 flags: FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags: FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val overridden: FUN IR_EXTERNAL_DECLARATION_STUB name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val overridden: FUN IR_EXTERNAL_DECLARATION_STUB name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN ENUM_CLASS_SPECIAL_MEMBER name:values visibility:public modality:FINAL <> () returnType:Array flags: SYNTHETIC_BODY kind=ENUM_VALUES FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:Test1 flags: VALUE_PARAMETER name:value index:0 type:kotlin.String flags: SYNTHETIC_BODY kind=ENUM_VALUEOF CLASS ENUM_CLASS name:Test2 modality:FINAL visibility:public flags: $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:Test2 flags: superClasses: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Enum modality:ABSTRACT visibility:public flags: CONSTRUCTOR visibility:private <> (x:kotlin.Int) returnType:Test2 flags:primary VALUE_PARAMETER name:x index:0 type:kotlin.Int flags: BLOCK_BODY ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' >: Test2 INSTANCE_INITIALIZER_CALL classDescriptor='Test2' PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final EXPRESSION_BODY GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:Test2) returnType:Int flags: correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val $this: VALUE_PARAMETER name: type:Test2 flags: BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null ENUM_ENTRY name:ZERO init: ENUM_CONSTRUCTOR_CALL 'constructor ZERO()' class: CLASS ENUM_ENTRY name:ZERO modality:FINAL visibility:public flags: $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:Test2.ZERO flags: superClasses: CLASS ENUM_CLASS name:Test2 modality:FINAL visibility:public flags: CONSTRUCTOR visibility:private <> () returnType:Test2.ZERO flags:primary BLOCK_BODY ENUM_CONSTRUCTOR_CALL 'constructor Test2()' INSTANCE_INITIALIZER_CALL classDescriptor='ZERO' FUN name:foo visibility:public modality:OPEN <> ($this:Test2.ZERO) returnType:Unit flags: overridden: FUN name:foo visibility:public modality:ABSTRACT <> ($this:Test2) returnType:Unit flags: $this: VALUE_PARAMETER name: type:Test2.ZERO flags: BLOCK_BODY CALL 'println(Any?): Unit' type=kotlin.Unit origin=null message: CONST String type=kotlin.String value=ZERO FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: overridden: FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: overridden: FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(Test2..Test2?)>..java.lang.Class<(Test2..Test2?)>?) flags: overridden: FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(Test2..Test2?)>..java.lang.Class<(Test2..Test2?)>?) flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:Test2) returnType:Int flags: overridden: FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:Test2) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:Test2 flags: FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: overridden: FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags: FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: overridden: FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val overridden: FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val overridden: FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:x type:kotlin.Int visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:Test2) returnType:Int flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:x type:kotlin.Int visibility:public modality:FINAL flags:val overridden: FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:Test2) returnType:Int flags: $this: VALUE_PARAMETER name: type:Test2 flags: FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: overridden: FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: ENUM_ENTRY name:ONE init: ENUM_CONSTRUCTOR_CALL 'constructor ONE()' class: CLASS ENUM_ENTRY name:ONE modality:FINAL visibility:public flags: $this: VALUE_PARAMETER INSTANCE_RECEIVER name: type:Test2.ONE flags: superClasses: CLASS ENUM_CLASS name:Test2 modality:FINAL visibility:public flags: CONSTRUCTOR visibility:private <> () returnType:Test2.ONE flags:primary BLOCK_BODY ENUM_CONSTRUCTOR_CALL 'constructor Test2(Int)' x: CONST Int type=kotlin.Int value=1 INSTANCE_INITIALIZER_CALL classDescriptor='ONE' FUN name:foo visibility:public modality:OPEN <> ($this:Test2.ONE) returnType:Unit flags: overridden: FUN name:foo visibility:public modality:ABSTRACT <> ($this:Test2) returnType:Unit flags: $this: VALUE_PARAMETER name: type:Test2.ONE flags: BLOCK_BODY CALL 'println(Any?): Unit' type=kotlin.Unit origin=null message: CONST String type=kotlin.String value=ONE FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: overridden: FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: overridden: FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(Test2..Test2?)>..java.lang.Class<(Test2..Test2?)>?) flags: overridden: FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(Test2..Test2?)>..java.lang.Class<(Test2..Test2?)>?) flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:Test2) returnType:Int flags: overridden: FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:Test2) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:Test2 flags: FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: overridden: FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags: FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: overridden: FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val overridden: FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val overridden: FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:x type:kotlin.Int visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:Test2) returnType:Int flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:x type:kotlin.Int visibility:public modality:FINAL flags:val overridden: FUN DEFAULT_PROPERTY_ACCESSOR name: visibility:public modality:FINAL <> ($this:Test2) returnType:Int flags: $this: VALUE_PARAMETER name: type:Test2 flags: FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: overridden: FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: CONSTRUCTOR visibility:private <> () returnType:Test2 flags: BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int)' x: CONST Int type=kotlin.Int value=0 FUN name:foo visibility:public modality:ABSTRACT <> ($this:Test2) returnType:Unit flags: $this: VALUE_PARAMETER name: type:Test2 flags: FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum) returnType:Any flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum) returnType:Unit flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(Test2..Test2?)>..java.lang.Class<(Test2..Test2?)>?) flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:(java.lang.Class<(E..E?)>..java.lang.Class<(E..E?)>?) flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:Test2) returnType:Int flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum, other:E) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:Test2 flags: FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum, other:kotlin.Any?) returnType:Boolean flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags: FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:name type:kotlin.String visibility:public modality:FINAL flags:val overridden: FUN IR_EXTERNAL_DECLARATION_STUB name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val FUN FAKE_OVERRIDE name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal type:kotlin.Int visibility:public modality:FINAL flags:val overridden: FUN IR_EXTERNAL_DECLARATION_STUB name: visibility:public modality:FINAL <> ($this:kotlin.Enum) returnType:Int flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: overridden: FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum) returnType:String flags: $this: VALUE_PARAMETER name: type:kotlin.Enum flags: FUN ENUM_CLASS_SPECIAL_MEMBER name:values visibility:public modality:FINAL <> () returnType:Array flags: SYNTHETIC_BODY kind=ENUM_VALUES FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:Test2 flags: VALUE_PARAMETER name:value index:0 type:kotlin.String flags: SYNTHETIC_BODY kind=ENUM_VALUEOF