360bfcaf6a
* if enum class has abstract members, then it is ABSTRACT * otherwise, if enum class has entries with members, then it is OPEN * otherwise, it is FINAL.
158 lines
13 KiB
Plaintext
Vendored
158 lines
13 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/enumEntriesWithAnnotations.kt
|
|
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public flags: superTypes:[kotlin.Annotation]
|
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:TestAnn flags:
|
|
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:TestAnn flags:primary
|
|
VALUE_PARAMETER name:x index:0 type:kotlin.String flags:
|
|
PROPERTY name:x visibility:public modality:FINAL flags:val
|
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:public flags:final
|
|
EXPRESSION_BODY
|
|
GET_VAR 'value-parameter x: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:TestAnn) returnType:kotlin.String flags:
|
|
correspondingProperty: PROPERTY name:x visibility:public modality:FINAL flags:val
|
|
$this: VALUE_PARAMETER name:<this> type:TestAnn flags:
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
|
GET_FIELD 'x: String' type=kotlin.String origin=null
|
|
receiver: GET_VAR 'this@TestAnn: TestAnn' type=TestAnn origin=null
|
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
|
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
|
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
|
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
|
CLASS ENUM_CLASS name:TestEnum modality:OPEN visibility:public flags: superTypes:[kotlin.Enum<TestEnum>]
|
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:TestEnum flags:
|
|
CONSTRUCTOR visibility:private <> () returnType:TestEnum flags:primary
|
|
BLOCK_BODY
|
|
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
|
<E : Enum<E>>: TestEnum
|
|
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum'
|
|
ENUM_ENTRY name:ENTRY1
|
|
annotations:
|
|
CALL 'constructor TestAnn(String)' type=TestAnn origin=null
|
|
x: CONST String type=kotlin.String value="ENTRY1"
|
|
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum()'
|
|
ENUM_ENTRY name:ENTRY2
|
|
annotations:
|
|
CALL 'constructor TestAnn(String)' type=TestAnn origin=null
|
|
x: CONST String type=kotlin.String value="ENTRY2"
|
|
init: ENUM_CONSTRUCTOR_CALL 'constructor ENTRY2()'
|
|
class: CLASS ENUM_ENTRY name:ENTRY2 modality:FINAL visibility:public flags: superTypes:[TestEnum]
|
|
annotations:
|
|
CALL 'constructor TestAnn(String)' type=TestAnn origin=null
|
|
x: CONST String type=kotlin.String value="ENTRY2"
|
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:TestEnum.ENTRY2 flags:
|
|
CONSTRUCTOR visibility:private <> () returnType:TestEnum.ENTRY2 flags:primary
|
|
BLOCK_BODY
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
|
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum()'
|
|
INSTANCE_INITIALIZER_CALL classDescriptor='ENTRY2'
|
|
PROPERTY name:x visibility:public modality:FINAL flags:val
|
|
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
|
|
EXPRESSION_BODY
|
|
CONST Int type=kotlin.Int value=42
|
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:TestEnum.ENTRY2) returnType:kotlin.Int flags:
|
|
correspondingProperty: PROPERTY name:x visibility:public modality:FINAL flags:val
|
|
$this: VALUE_PARAMETER name:<this> type:TestEnum.ENTRY2 flags:
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
|
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
|
receiver: GET_VAR 'this@ENTRY2: ENTRY2' type=TestEnum.ENTRY2 origin=null
|
|
FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Any flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Any flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Unit flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Unit flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:java.lang.Class<TestEnum?>? flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:java.lang.Class<TestEnum?>? flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>, other:TestEnum) returnType:kotlin.Int flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>, other:TestEnum) returnType:kotlin.Int flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
VALUE_PARAMETER name:other index:0 type:TestEnum flags:
|
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
|
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Int flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Int flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
PROPERTY FAKE_OVERRIDE name:name visibility:public modality:FINAL flags:val
|
|
FUN FAKE_OVERRIDE name:<get-name> visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.String flags:
|
|
correspondingProperty: PROPERTY FAKE_OVERRIDE name:name visibility:public modality:FINAL flags:val
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:<get-name> visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.String flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
PROPERTY FAKE_OVERRIDE name:ordinal visibility:public modality:FINAL flags:val
|
|
FUN FAKE_OVERRIDE name:<get-ordinal> visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Int flags:
|
|
correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal visibility:public modality:FINAL flags:val
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:<get-ordinal> visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Int flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.String flags:
|
|
overridden:
|
|
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.String flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Any flags:
|
|
overridden:
|
|
FUN IR_EXTERNAL_DECLARATION_STUB name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum<E>) returnType:kotlin.Any flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Unit flags:
|
|
overridden:
|
|
FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum<E>) returnType:kotlin.Unit flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:java.lang.Class<TestEnum?>? flags:
|
|
overridden:
|
|
FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum<E>) returnType:java.lang.Class<E?>? flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>, other:TestEnum) returnType:kotlin.Int flags:
|
|
overridden:
|
|
FUN IR_EXTERNAL_DECLARATION_STUB name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum<E>, other:E) returnType:kotlin.Int flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
VALUE_PARAMETER name:other index:0 type:TestEnum flags:
|
|
FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
|
overridden:
|
|
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum<E>, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
|
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Int flags:
|
|
overridden:
|
|
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum<E>) returnType:kotlin.Int flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
PROPERTY FAKE_OVERRIDE name:name visibility:public modality:FINAL flags:val
|
|
FUN FAKE_OVERRIDE name:<get-name> visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.String flags:
|
|
correspondingProperty: PROPERTY FAKE_OVERRIDE name:name visibility:public modality:FINAL flags:val
|
|
overridden:
|
|
FUN IR_EXTERNAL_DECLARATION_STUB name:<get-name> visibility:public modality:FINAL <> ($this:kotlin.Enum<E>) returnType:kotlin.String flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
PROPERTY FAKE_OVERRIDE name:ordinal visibility:public modality:FINAL flags:val
|
|
FUN FAKE_OVERRIDE name:<get-ordinal> visibility:public modality:FINAL <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.Int flags:
|
|
correspondingProperty: PROPERTY FAKE_OVERRIDE name:ordinal visibility:public modality:FINAL flags:val
|
|
overridden:
|
|
FUN IR_EXTERNAL_DECLARATION_STUB name:<get-ordinal> visibility:public modality:FINAL <> ($this:kotlin.Enum<E>) returnType:kotlin.Int flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum<TestEnum>) returnType:kotlin.String flags:
|
|
overridden:
|
|
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum<E>) returnType:kotlin.String flags:
|
|
$this: VALUE_PARAMETER name:<this> type:kotlin.Enum<TestEnum> flags:
|
|
FUN ENUM_CLASS_SPECIAL_MEMBER name:values visibility:public modality:FINAL <> () returnType:kotlin.Array<TestEnum> flags:
|
|
SYNTHETIC_BODY kind=ENUM_VALUES
|
|
FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:TestEnum flags:
|
|
VALUE_PARAMETER name:value index:0 type:kotlin.String flags:
|
|
SYNTHETIC_BODY kind=ENUM_VALUEOF
|