FILE fqName:<root> fileName:/serializer.kt
  CLASS CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Any]
    annotations:
      MySerializable
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.A
    CONSTRUCTOR visibility:public returnType:<root>.A [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:FINAL visibility:public superTypes:[kotlin.Any]' 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 kotlin.Any
    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 kotlin.Any
    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 kotlin.Any
  CLASS CLASS name:B modality:FINAL visibility:public superTypes:[kotlin.Any]
    annotations:
      MySerializable
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.B
    CONSTRUCTOR visibility:public returnType:<root>.B [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[kotlin.Any]' 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 kotlin.Any
    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 kotlin.Any
    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 kotlin.Any
  CLASS CLASS name:C modality:FINAL visibility:public superTypes:[kotlin.Any]
    annotations:
      MySerializable
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.C
    CONSTRUCTOR visibility:public returnType:<root>.C [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[kotlin.Any]' 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 kotlin.Any
    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 kotlin.Any
    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 kotlin.Any
  CLASS CLASS name:D modality:FINAL visibility:public superTypes:[kotlin.Any]
    annotations:
      MySerializable
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.D
    CONSTRUCTOR visibility:public returnType:<root>.D [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:D modality:FINAL visibility:public superTypes:[kotlin.Any]' 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 kotlin.Any
    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 kotlin.Any
    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 kotlin.Any
  CLASS OBJECT name:FirstSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]
    annotations:
      CoreSerializer
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.FirstSerializer
    PROPERTY name:bProp visibility:public modality:FINAL [val]
      FIELD PROPERTY_BACKING_FIELD name:bProp type:kotlin.Int visibility:private [final]
        EXPRESSION_BODY
          CONST Int type=kotlin.Int value=1
      FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bProp> visibility:public modality:FINAL returnType:kotlin.Int
        VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
        correspondingProperty: PROPERTY name:bProp visibility:public modality:FINAL [val]
        BLOCK_BODY
          RETURN type=kotlin.Nothing from='public final fun <get-bProp> (): kotlin.Int declared in <root>.FirstSerializer'
            GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:bProp type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
              receiver: GET_VAR '<this>: <root>.FirstSerializer declared in <root>.FirstSerializer.<get-bProp>' type=<root>.FirstSerializer origin=null
    PROPERTY name:aProp visibility:public modality:FINAL [val]
      FIELD PROPERTY_BACKING_FIELD name:aProp type:kotlin.Int visibility:private [final]
        EXPRESSION_BODY
          CONST Int type=kotlin.Int value=2
      FUN DEFAULT_PROPERTY_ACCESSOR name:<get-aProp> visibility:public modality:FINAL returnType:kotlin.Int
        VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
        correspondingProperty: PROPERTY name:aProp visibility:public modality:FINAL [val]
        BLOCK_BODY
          RETURN type=kotlin.Nothing from='public final fun <get-aProp> (): kotlin.Int declared in <root>.FirstSerializer'
            GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:aProp type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
              receiver: GET_VAR '<this>: <root>.FirstSerializer declared in <root>.FirstSerializer.<get-aProp>' type=<root>.FirstSerializer origin=null
    CONSTRUCTOR visibility:private returnType:<root>.FirstSerializer [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:FirstSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' 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 kotlin.Any
    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 kotlin.Any
    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 kotlin.Any
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeA visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.A
      BLOCK_BODY
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeB visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.B
      BLOCK_BODY
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeC visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.C
      BLOCK_BODY
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeD visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.D
      BLOCK_BODY
    FUN name:aFunction visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
      BLOCK_BODY
    FUN name:bFunction visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.FirstSerializer
      BLOCK_BODY
  CLASS OBJECT name:SecondSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]
    annotations:
      CoreSerializer
    thisReceiver: VALUE_PARAMETER INSTANCE_RECEIVER kind:DispatchReceiver name:<this> type:<root>.SecondSerializer
    CONSTRUCTOR visibility:private returnType:<root>.SecondSerializer [primary]
      BLOCK_BODY
        DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
        INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:SecondSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' 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 kotlin.Any
    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 kotlin.Any
    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 kotlin.Any
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeA visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.SecondSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.A
      BLOCK_BODY
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeB visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.SecondSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.B
      BLOCK_BODY
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeC visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.SecondSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.C
      BLOCK_BODY
    FUN GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] name:serializeD visibility:public modality:FINAL returnType:kotlin.Unit
      VALUE_PARAMETER kind:DispatchReceiver name:<this> index:0 type:<root>.SecondSerializer
      VALUE_PARAMETER GENERATED[org.jetbrains.kotlin.plugin.sandbox.fir.generators.MembersOfSerializerGenerator.Key] kind:Regular name:x index:1 type:<root>.D
      BLOCK_BODY
  FUN name:box visibility:public modality:FINAL returnType:kotlin.String
    BLOCK_BODY
      CALL 'public final fun testFirstSerializer (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
      CALL 'public final fun testSecondSerializer (): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
      RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
        CONST String type=kotlin.String value="OK"
  FUN name:testFirstSerializer visibility:public modality:FINAL returnType:kotlin.Unit
    BLOCK_BODY
      CALL 'public final fun serializeA (x: <root>.A): kotlin.Unit declared in <root>.FirstSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:FirstSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.FirstSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A' type=<root>.A origin=null
      CALL 'public final fun serializeB (x: <root>.B): kotlin.Unit declared in <root>.FirstSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:FirstSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.FirstSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.B' type=<root>.B origin=null
      CALL 'public final fun serializeC (x: <root>.C): kotlin.Unit declared in <root>.FirstSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:FirstSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.FirstSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.C' type=<root>.C origin=null
      CALL 'public final fun serializeD (x: <root>.D): kotlin.Unit declared in <root>.FirstSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:FirstSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.FirstSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.D' type=<root>.D origin=null
  FUN name:testSecondSerializer visibility:public modality:FINAL returnType:kotlin.Unit
    BLOCK_BODY
      CALL 'public final fun serializeA (x: <root>.A): kotlin.Unit declared in <root>.SecondSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:SecondSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.SecondSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A' type=<root>.A origin=null
      CALL 'public final fun serializeB (x: <root>.B): kotlin.Unit declared in <root>.SecondSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:SecondSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.SecondSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.B' type=<root>.B origin=null
      CALL 'public final fun serializeC (x: <root>.C): kotlin.Unit declared in <root>.SecondSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:SecondSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.SecondSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.C' type=<root>.C origin=null
      CALL 'public final fun serializeD (x: <root>.D): kotlin.Unit declared in <root>.SecondSerializer' type=kotlin.Unit origin=null
        ARG <this>: GET_OBJECT 'CLASS OBJECT name:SecondSerializer modality:FINAL visibility:public superTypes:[kotlin.Any]' type=<root>.SecondSerializer
        ARG x: CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.D' type=<root>.D origin=null
