IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
@@ -10,6 +10,7 @@ FILE fqName:<root> fileName:/annotationClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> 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:<this> type:Test1 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
@@ -41,6 +42,7 @@ FILE fqName:<root> fileName:/annotationClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> 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:<this> type:Test2 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
@@ -70,6 +72,7 @@ FILE fqName:<root> fileName:/annotationClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Test1' type=Test1 origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Test3) returnType:Test1 flags:
|
||||
correspondingProperty: PROPERTY name:x type:Test1 visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test3 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Test1'
|
||||
@@ -99,6 +102,7 @@ FILE fqName:<root> fileName:/annotationClasses.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter vararg xs: Int' type=kotlin.IntArray origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-xs> visibility:public modality:FINAL <> ($this:Test4) returnType:IntArray flags:
|
||||
correspondingProperty: PROPERTY name:xs type:kotlin.IntArray visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test4 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-xs>(): IntArray'
|
||||
|
||||
Reference in New Issue
Block a user