9aa8fb80e7
NB: in order to produce correct IR origins, the source element kinds for some FIR elements has been changed. As a side effect, mapping PSI to FIR slightly changed: namely, for `a[b]++`, `a[b]` used to be mapped on `set` call or callable reference, but now it is mapped on `get` call. ^KT-61891: Fixed ^KT-64387: Fixed
32 lines
2.6 KiB
Plaintext
Vendored
32 lines
2.6 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/javaSyntheticPropertyAccess.kt
|
|
FUN name:test visibility:public modality:FINAL <> (j:<root>.J) returnType:kotlin.Unit
|
|
VALUE_PARAMETER name:j index:0 type:<root>.J
|
|
BLOCK_BODY
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
CALL 'public open fun getFoo (): kotlin.Int declared in <root>.J' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR 'j: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
CALL 'public open fun setFoo (x: kotlin.Int): kotlin.Unit declared in <root>.J' type=kotlin.Unit origin=EQ
|
|
$this: GET_VAR 'j: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
x: CONST Int type=kotlin.Int value=1
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
BLOCK type=kotlin.Int origin=POSTFIX_INCR
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:<root>.J [val]
|
|
GET_VAR 'j: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Int [val]
|
|
CALL 'public open fun getFoo (): kotlin.Int declared in <root>.J' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR 'val tmp_0: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
CALL 'public open fun setFoo (x: kotlin.Int): kotlin.Unit declared in <root>.J' type=kotlin.Unit origin=POSTFIX_INCR
|
|
$this: GET_VAR 'val tmp_0: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
x: CALL 'public final fun inc (): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=POSTFIX_INCR
|
|
$this: GET_VAR 'val tmp_1: kotlin.Int declared in <root>.test' type=kotlin.Int origin=null
|
|
GET_VAR 'val tmp_1: kotlin.Int declared in <root>.test' type=kotlin.Int origin=null
|
|
BLOCK type=kotlin.Unit origin=null
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:<root>.J [val]
|
|
GET_VAR 'j: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
CALL 'public open fun setFoo (x: kotlin.Int): kotlin.Unit declared in <root>.J' type=kotlin.Unit origin=EQ
|
|
$this: GET_VAR 'val tmp_2: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
x: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=null
|
|
$this: CALL 'public open fun getFoo (): kotlin.Int declared in <root>.J' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR 'val tmp_2: <root>.J declared in <root>.test' type=<root>.J origin=null
|
|
other: CONST Int type=kotlin.Int value=1
|