https://kotlinlang.org logo
j

Jon

08/17/2019, 2:35 AM
I am looking at the implementation of Serializable above and I am unsure how by just applying this annotation, it automatically makes my data class have a new "serializer()" method to it. It doesn't seem like it is doing anything special so this makes me believe there is something hidden happening.
l

louiscad

08/17/2019, 6:57 AM
It's a combination of IDE plugin (found directly inside the Kotlin plugin), a gradle plugin and a compiler plugin.
👍 1
j

Jon

08/17/2019, 6:58 AM
Thanks @louiscad
2 Views