Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/fileAnnotations.txt
T

40 lines
2.6 KiB
Plaintext
Vendored

FILE fqName:test fileName:/fileAnnotations.kt
fileAnnotations:
@test.A(x = "File annotation")
annotations:
CALL 'constructor A(String)' type=test.A origin=null
x: CONST String type=kotlin.String value=File annotation
CLASS ANNOTATION_CLASS name:A modality:FINAL visibility:public flags:
annotations:
CALL 'constructor Target(vararg AnnotationTarget)' type=kotlin.annotation.Target origin=null
allowedTargets: VARARG type=Array<out AnnotationTarget> varargElementType=AnnotationTarget
GET_ENUM 'FILE' type=kotlin.annotation.AnnotationTarget
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.A flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Annotation modality:ABSTRACT visibility:public flags:
CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:test.A flags:
VALUE_PARAMETER name:x index:0 type:kotlin.String flags:
PROPERTY name:x type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.String visibility:public
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:test.A) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:test.A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): String'
GET_FIELD 'x: String' type=kotlin.String origin=null
receiver: GET_VAR 'this@A: A' type=test.A origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
overridden:
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType: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:Int flags:
overridden:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
overridden:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags: