Codespector

This is an IntelliJ plugin which does code inspection.

It inspects Kotlin data class and checks if each of the params are annotated with the required annotation. If there is a missing annotation, then it highlights the error to the user.

Currently the following annotation are supported:

  • SerializedName – Gson
  • Json – Moshi
  • SerialName – Kotlinx Serialization

You can get the plugin from here

Screenshot 2022-07-27 at 11 42 53 PM

Screenshot 2022-07-27 at 11 41 23 PM

GitHub

View Github