If I understand the question correctly answer is no -- mix-in binding
occurs as a step before trying to access merged annotations and
non-matching mix-in annotations are just ignored.
It might be reasonable to have a setting that would error out for
non-matching mixins (field or method) but this does not yet exist.
On mix-in itself: another way to annotate would be to use
`@JsonIgnoreProperties` with `allowSetters = true`. But I don't think
that would help here;
it too could have mis-spelling, and does not allow renaming.
Now that I am thinking, there actually might be something to do if you
had accessor (setter) instead of field. Mix-in classes/interfaces are
allowed to extend/implement
other classes, and if it was possible for interface/class to extend
something and use `@Overrides` compiler could catch one class of
misnaming (of method).
It does not seem like this would directly work with fields however.
-+ Tatu +-
>
>
> Thanks,
> Stephen
>
> --
> You received this message because you are subscribed to the Google Groups
> "jackson-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
jackson-user...@googlegroups.com.
> To post to this group, send email to
jackso...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.