IrClass.isInner

This commit is contained in:
Dmitry Petrov
2018-05-11 14:04:52 +03:00
parent 1e92dbf806
commit 0feb50021c
17 changed files with 51 additions and 46 deletions
@@ -74,7 +74,7 @@ FILE fqName:<root> fileName:/class.kt
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
CLASS CLASS name:TestInner modality:FINAL visibility:public flags:
CLASS CLASS name:TestInner modality:FINAL visibility:public flags:inner
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test<T0>.TestInner<T2> flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
@@ -68,7 +68,7 @@ FILE fqName:<root> fileName:/constructor.kt
RETURN type=kotlin.Nothing from='<get-y>(): String'
GET_FIELD 'y: String' type=kotlin.String origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
CLASS CLASS name:TestInner modality:FINAL visibility:public flags:
CLASS CLASS name:TestInner modality:FINAL visibility:public flags:inner
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test2.TestInner<Z> flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
@@ -10,7 +10,7 @@ FILE fqName:<root> fileName:/genericInnerClass.kt
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS name:Inner modality:FINAL visibility:public flags:
CLASS CLASS name:Inner modality:FINAL visibility:public flags:inner
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Outer<T1>.Inner<T2> flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags: