adds (optional) annotations to the Field data class
implements annotation extraction in calculateTypes
regenerates the (Kotlin) Wire classes (Shipment etc) that are used by the calculateTypes tests, and adds custom options to tests.
Note we use Kotlin properties in calculateTypes (instead of the original backing java fields) as Wire compiles custom options into (Kotlin) property annotations, and not field annotations.
…ire custom options. This PR
Field
data classcalculateTypes
Shipment
etc) that are used by the calculateTypes tests, and adds custom options to tests.Note we use Kotlin properties in
calculateTypes
(instead of the original backing java fields) as Wire compiles custom options into (Kotlin) property annotations, and not field annotations.