In this post we will see how to extract the annotation value, (i.e. `”choc”` in `@SerializedName(“choc”)`) given an annotated enum constant. This technique is useful when we generate strings for unit tests in the context of Json deserialization. Furthermore, we will discuss some features of enums and annotations, and their connections with the reflection API. Continue reading