melatonina
05/04/2020, 3:15 PMval
parameter.
The code can be found here: https://github.com/mel4tonin4/inline-serialization-plugin/tree/master
The plugin operates on classes marked with a custom @InlineSerializable
annotation.
Currently, the serializer classes are generated and the original classes seems to be annotated with a Serializable(with=)
decoration pointing to the serializer class... but not quite. If I enable metadebug
I get a source file with the annotated class, but in the same kapt directory there is a file with a non-annotated class and if I try to use the class in another library, there is no serializer()
method.
Here is the content of the kapt directory: https://gist.github.com/mel4tonin4/1605d28e9bd2471c5bfb013b2d31f0ef I enabled metadebug
only on one of the classes. Why are ChannelCount.kt.meta and ChannelCount.kt not the same?raulraja
05/05/2020, 11:00 AMmelatonina
05/05/2020, 11:11 AM