FILE fqName:<root> fileName:/main.kt
  CLASS CLASS name:Impl modality:OPEN visibility:public superTypes:[foo.Derived]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.Impl
    CONSTRUCTOR visibility:public returnType:<root>.Impl [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in foo.Derived'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Impl modality:OPEN visibility:public superTypes:[foo.Derived]' type=kotlin.Unit
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in foo.Derived
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in foo.Derived
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in foo.Derived
    FUN name:testClass visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.Impl
      BLOCK_BODY
        TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
          GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Int superQualifierSymbol=<root>.Impl origin=null
            receiver: GET_VAR '<this>: <root>.Impl declared in <root>.Impl.testClass' type=<root>.Impl origin=IMPLICIT_ARGUMENT
        TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
          GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Int superQualifierSymbol=foo.Derived origin=null
            receiver: GET_VAR '<this>: <root>.Impl declared in <root>.Impl.testClass' type=<root>.Impl origin=IMPLICIT_ARGUMENT
        SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Unit superQualifierSymbol=<root>.Impl origin=EQ
          receiver: GET_VAR '<this>: <root>.Impl declared in <root>.Impl.testClass' type=<root>.Impl origin=IMPLICIT_ARGUMENT
          value: CONST Int type=kotlin.Int value=1
        SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Unit superQualifierSymbol=foo.Derived origin=EQ
          receiver: GET_VAR '<this>: <root>.Impl declared in <root>.Impl.testClass' type=<root>.Impl origin=IMPLICIT_ARGUMENT
          value: CONST Int type=kotlin.Int value=1
    FUN name:testClassStatic visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.Impl
      BLOCK_BODY
        TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
          GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:s type:kotlin.Int visibility:public [static] declared in foo.Base' type=kotlin.Int superQualifierSymbol=foo.Derived origin=null
        SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:s type:kotlin.Int visibility:public [static] declared in foo.Base' type=kotlin.Unit superQualifierSymbol=foo.Derived origin=EQ
          value: CONST Int type=kotlin.Int value=1
    PROPERTY FAKE_OVERRIDE name:f visibility:public modality:FINAL [fake_override,var]
      overridden:
        public final f: kotlin.Int declared in foo.Derived
  CLASS CLASS name:OtherImpl modality:FINAL visibility:public superTypes:[<root>.Impl]
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.OtherImpl
    CONSTRUCTOR visibility:public returnType:<root>.OtherImpl [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Impl'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:OtherImpl modality:FINAL visibility:public superTypes:[<root>.Impl]' type=kotlin.Unit
    FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN returnType:kotlin.Boolean [fake_override,operator]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      VALUE_PARAMETER kind:Regular name:other index:1 type:kotlin.Any?
      overridden:
        public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Impl
    FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN returnType:kotlin.Int [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun hashCode (): kotlin.Int declared in <root>.Impl
    FUN FAKE_OVERRIDE name:testClass visibility:public modality:FINAL returnType:kotlin.Unit [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.Impl
      overridden:
        public final fun testClass (): kotlin.Unit declared in <root>.Impl
    FUN FAKE_OVERRIDE name:testClassStatic visibility:public modality:FINAL returnType:kotlin.Unit [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.Impl
      overridden:
        public final fun testClassStatic (): kotlin.Unit declared in <root>.Impl
    FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN returnType:kotlin.String [fake_override]
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:kotlin.Any
      overridden:
        public open fun toString (): kotlin.String declared in <root>.Impl
    FUN name:testOtherClass visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.OtherImpl
      BLOCK_BODY
        TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
          GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Int superQualifierSymbol=<root>.OtherImpl origin=null
            receiver: GET_VAR '<this>: <root>.OtherImpl declared in <root>.OtherImpl.testOtherClass' type=<root>.OtherImpl origin=IMPLICIT_ARGUMENT
        TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
          GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Int superQualifierSymbol=<root>.Impl origin=null
            receiver: GET_VAR '<this>: <root>.OtherImpl declared in <root>.OtherImpl.testOtherClass' type=<root>.OtherImpl origin=IMPLICIT_ARGUMENT
        SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Unit superQualifierSymbol=<root>.OtherImpl origin=EQ
          receiver: GET_VAR '<this>: <root>.OtherImpl declared in <root>.OtherImpl.testOtherClass' type=<root>.OtherImpl origin=IMPLICIT_ARGUMENT
          value: CONST Int type=kotlin.Int value=1
        SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Unit superQualifierSymbol=<root>.Impl origin=EQ
          receiver: GET_VAR '<this>: <root>.OtherImpl declared in <root>.OtherImpl.testOtherClass' type=<root>.OtherImpl origin=IMPLICIT_ARGUMENT
          value: CONST Int type=kotlin.Int value=1
    FUN name:testOtherClassStatic visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.OtherImpl
      BLOCK_BODY
        TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
          GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:s type:kotlin.Int visibility:public [static] declared in foo.Base' type=kotlin.Int superQualifierSymbol=foo.Derived origin=null
        SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:s type:kotlin.Int visibility:public [static] declared in foo.Base' type=kotlin.Unit superQualifierSymbol=foo.Derived origin=EQ
          value: CONST Int type=kotlin.Int value=1
    PROPERTY FAKE_OVERRIDE name:f visibility:public modality:FINAL [fake_override,var]
      overridden:
        public final f declared in <root>.Impl
  FUN name:testNonStatic visibility:public modality:FINAL returnType:kotlin.Unit
    VALUE_PARAMETER kind:Regular name:d index:0 type:foo.Derived
    VALUE_PARAMETER kind:Regular name:i index:1 type:<root>.Impl
    VALUE_PARAMETER kind:Regular name:o index:2 type:<root>.OtherImpl
    BLOCK_BODY
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Int superQualifierSymbol=foo.Derived origin=null
          receiver: GET_VAR 'd: foo.Derived declared in <root>.testNonStatic' type=foo.Derived origin=null
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Int superQualifierSymbol=<root>.Impl origin=null
          receiver: GET_VAR 'i: <root>.Impl declared in <root>.testNonStatic' type=<root>.Impl origin=null
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Int superQualifierSymbol=<root>.OtherImpl origin=null
          receiver: GET_VAR 'o: <root>.OtherImpl declared in <root>.testNonStatic' type=<root>.OtherImpl origin=null
      SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Unit superQualifierSymbol=foo.Derived origin=EQ
        receiver: GET_VAR 'd: foo.Derived declared in <root>.testNonStatic' type=foo.Derived origin=null
        value: CONST Int type=kotlin.Int value=1
      SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Unit superQualifierSymbol=<root>.Impl origin=EQ
        receiver: GET_VAR 'i: <root>.Impl declared in <root>.testNonStatic' type=<root>.Impl origin=null
        value: CONST Int type=kotlin.Int value=1
      SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Base' type=kotlin.Unit superQualifierSymbol=<root>.OtherImpl origin=EQ
        receiver: GET_VAR 'o: <root>.OtherImpl declared in <root>.testNonStatic' type=<root>.OtherImpl origin=null
        value: CONST Int type=kotlin.Int value=1
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        PROPERTY_REFERENCE 'public final f: kotlin.Int declared in foo.Derived' field='FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in foo.Derived' getter=null setter=null type=kotlin.reflect.KMutableProperty0<kotlin.Int> origin=null
          ARG 1: GET_VAR 'd: foo.Derived declared in <root>.testNonStatic' type=foo.Derived origin=null
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        PROPERTY_REFERENCE 'public final f declared in <root>.Impl' field='FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in <root>.Impl' getter=null setter=null type=kotlin.reflect.KMutableProperty0<kotlin.Int> origin=null
          ARG 1: GET_VAR 'i: <root>.Impl declared in <root>.testNonStatic' type=<root>.Impl origin=null
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        PROPERTY_REFERENCE 'public final f declared in <root>.OtherImpl' field='FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:f type:kotlin.Int visibility:public declared in <root>.OtherImpl' getter=null setter=null type=kotlin.reflect.KMutableProperty0<kotlin.Int> origin=null
          ARG 1: GET_VAR 'o: <root>.OtherImpl declared in <root>.testNonStatic' type=<root>.OtherImpl origin=null
  FUN name:testStatic visibility:public modality:FINAL returnType:kotlin.Unit
    BLOCK_BODY
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:s type:kotlin.Int visibility:public [static] declared in foo.Base' type=kotlin.Int superQualifierSymbol=foo.Derived origin=null
      SET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:s type:kotlin.Int visibility:public [static] declared in foo.Base' type=kotlin.Unit superQualifierSymbol=foo.Derived origin=EQ
        value: CONST Int type=kotlin.Int value=1
      TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
        PROPERTY_REFERENCE 'public final s: kotlin.Int declared in foo.Derived' field='FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:s type:kotlin.Int visibility:public [static] declared in foo.Derived' getter=null setter=null type=kotlin.reflect.KMutableProperty0<kotlin.Int> origin=null
