Add SerializerFactory supertype for Native & JS in FIR serialization plugin.

This supertype is intended to be used with @AssociatedObject on platforms
where reflection possibilities are limited.
This commit is contained in:
Leonid Startsev
2022-09-08 16:53:45 +02:00
committed by Space
parent b388c7503b
commit 62f67e46fd
5 changed files with 49 additions and 6 deletions
@@ -83,6 +83,8 @@ object SerialEntityNames {
val GENERATED_SERIALIZER_CLASS = Name.identifier("GeneratedSerializer")
val GENERATED_SERIALIZER_FQ = SerializationPackages.internalPackageFqName.child(GENERATED_SERIALIZER_CLASS)
val SERIALIZER_FACTORY_INTERFACE_NAME = Name.identifier("SerializerFactory")
const val ENCODER_CLASS = "Encoder"
const val STRUCTURE_ENCODER_CLASS = "CompositeEncoder"
const val DECODER_CLASS = "Decoder"