IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
+4
@@ -13,6 +13,7 @@ FILE fqName:<root> fileName:/differentReceivers.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:MyClass) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:MyClass flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
@@ -55,6 +56,7 @@ FILE fqName:<root> fileName:/differentReceivers.kt
|
||||
host: CONST Null type=kotlin.Nothing? value=null
|
||||
p: PROPERTY_REFERENCE 'testO: String' field=null getter='<get-testO>(): String' setter=null type=kotlin.reflect.KProperty0<kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-testO> visibility:public modality:FINAL <> () returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:testO type:kotlin.String visibility:public modality:FINAL flags:delegated,val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testO>(): String'
|
||||
CALL 'getValue(Any?, Any) on String: String' type=kotlin.String origin=null
|
||||
@@ -66,6 +68,7 @@ FILE fqName:<root> fileName:/differentReceivers.kt
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value=K
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-testK> visibility:public modality:FINAL <> () returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:testK type:kotlin.String visibility:public modality:FINAL flags:delegated,val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testK>(): String'
|
||||
CALL 'getValue(Any?, Any) on String: String' type=kotlin.String origin=null
|
||||
@@ -79,6 +82,7 @@ FILE fqName:<root> fileName:/differentReceivers.kt
|
||||
$this: CALL '<get-testO>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
other: CALL '<get-testK>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-testOK> visibility:public modality:FINAL <> () returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:testOK type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testOK>(): String'
|
||||
GET_FIELD 'testOK: String' type=kotlin.String origin=null
|
||||
|
||||
@@ -13,6 +13,7 @@ FILE fqName:<root> fileName:/local.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:Delegate) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Delegate flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
@@ -53,6 +54,7 @@ FILE fqName:<root> fileName:/local.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:DelegateProvider) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:DelegateProvider flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
|
||||
+1
@@ -13,6 +13,7 @@ FILE fqName:<root> fileName:/localDifferentReceivers.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:MyClass) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:MyClass flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
|
||||
@@ -13,6 +13,7 @@ FILE fqName:<root> fileName:/member.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:Delegate) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Delegate flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
@@ -53,6 +54,7 @@ FILE fqName:<root> fileName:/member.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:DelegateProvider) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:DelegateProvider flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
@@ -97,6 +99,7 @@ FILE fqName:<root> fileName:/member.kt
|
||||
thisRef: GET_VAR 'this@Host: Host' type=Host origin=null
|
||||
property: PROPERTY_REFERENCE 'testMember: String' field=null getter='<get-testMember>(): String' setter=null type=kotlin.reflect.KProperty1<Host, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-testMember> visibility:public modality:FINAL <> ($this:Host) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:testMember type:kotlin.String visibility:public modality:FINAL flags:delegated,val
|
||||
$this: VALUE_PARAMETER name:<this> type:Host flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testMember>(): String'
|
||||
|
||||
@@ -21,6 +21,7 @@ FILE fqName:<root> fileName:/memberExtension.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter s: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-s> visibility:public modality:FINAL <> ($this:Host.StringDelegate) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:s type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Host.StringDelegate flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-s>(): String'
|
||||
@@ -67,6 +68,7 @@ FILE fqName:<root> fileName:/memberExtension.kt
|
||||
host: GET_VAR 'this@Host: Host' type=Host origin=null
|
||||
p: PROPERTY_REFERENCE 'plusK: String on String' field=null getter='<get-plusK>() on String: String' setter=null type=kotlin.reflect.KProperty2<kotlin.String, Host, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-plusK> visibility:public modality:FINAL <> ($this:Host, $receiver:kotlin.String) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:plusK type:kotlin.String visibility:public modality:FINAL flags:delegated,val
|
||||
$this: VALUE_PARAMETER name:<this> type:Host flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
|
||||
BLOCK_BODY
|
||||
@@ -83,6 +85,7 @@ FILE fqName:<root> fileName:/memberExtension.kt
|
||||
$this: GET_VAR 'this@Host: Host' type=Host origin=null
|
||||
$receiver: CONST String type=kotlin.String value=O
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-ok> visibility:public modality:FINAL <> ($this:Host) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:ok type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Host flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-ok>(): String'
|
||||
|
||||
@@ -13,6 +13,7 @@ FILE fqName:<root> fileName:/topLevel.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:Delegate) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Delegate flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
@@ -53,6 +54,7 @@ FILE fqName:<root> fileName:/topLevel.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:DelegateProvider) returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:value type:kotlin.String visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:DelegateProvider flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): String'
|
||||
@@ -89,6 +91,7 @@ FILE fqName:<root> fileName:/topLevel.kt
|
||||
thisRef: CONST Null type=kotlin.Nothing? value=null
|
||||
property: PROPERTY_REFERENCE 'testTopLevel: String' field=null getter='<get-testTopLevel>(): String' setter=null type=kotlin.reflect.KProperty0<kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR name:<get-testTopLevel> visibility:public modality:FINAL <> () returnType:String flags:
|
||||
correspondingProperty: PROPERTY name:testTopLevel type:kotlin.String visibility:public modality:FINAL flags:delegated,val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testTopLevel>(): String'
|
||||
CALL 'getValue(Any?, Any?): String' type=kotlin.String origin=null
|
||||
|
||||
Reference in New Issue
Block a user