Pass "primary mix-in" to AnnotatedFieldCollector
from AnnotatedClass
#2043
Labels
3.x
Issues to be only tackled for Jackson 3.x, not 2.x
A very minor inefficiency is that whereas
AnnotatedMethodCollector
is passed the primary mix-in explicitly, field collector isn't. But it probably should. While doing this, may also see if supertype information could/should be passed.Oh, and the reason? Avoid one more lookup for known information; not just/mostly for cost (simpleish function call, lookup), but to reduce any chance of dynamic lookup producing different result (single canonical evaluation).
The text was updated successfully, but these errors were encountered: