IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
@@ -12,12 +12,14 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value=0
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x1> visibility:public modality:FINAL <> ($this:X1) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x1 type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:X1 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x1>(): Int'
|
||||
GET_FIELD 'x1: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'this@X1: X1' type=X1 origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x1> visibility:public modality:FINAL <> ($this:X1, <set-?>:kotlin.Int) returnType:Unit flags:
|
||||
correspondingProperty: PROPERTY name:x1 type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:X1 flags:
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
@@ -37,12 +39,14 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value=0
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x2> visibility:public modality:FINAL <> ($this:X1.X2) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x2 type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:X1.X2 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x2>(): Int'
|
||||
GET_FIELD 'x2: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'this@X2: X2' type=X1.X2 origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x2> visibility:public modality:FINAL <> ($this:X1.X2, <set-?>:kotlin.Int) returnType:Unit flags:
|
||||
correspondingProperty: PROPERTY name:x2 type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:X1.X2 flags:
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
@@ -62,12 +66,14 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value=0
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x3> visibility:public modality:FINAL <> ($this:X1.X2.X3) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x3 type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:X1.X2.X3 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x3>(): Int'
|
||||
GET_FIELD 'x3: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'this@X3: X3' type=X1.X2.X3 origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x3> visibility:public modality:FINAL <> ($this:X1.X2.X3, <set-?>:kotlin.Int) returnType:Unit flags:
|
||||
correspondingProperty: PROPERTY name:x3 type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:X1.X2.X3 flags:
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
@@ -201,12 +207,14 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter s: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-s> visibility:public modality:FINAL <> ($this:B) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:s type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:B flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-s>(): Int'
|
||||
GET_FIELD 's: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'this@B: B' type=B origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-s> visibility:public modality:FINAL <> ($this:B, <set-?>:kotlin.Int) returnType:Unit flags:
|
||||
correspondingProperty: PROPERTY name:s type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:B flags:
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user