|
From Pull #292:
... think about removing ConstrainedElement#getLocation(); ConstrainedField and ConstrainedExecutable would then need a direct reference to the corresponding member. This would avoid several object allocations during metadata retrieval and even open up the door to get rid of ConstraintLocation altogether by pulling its information straight into MetaConstraint<?> which then would be the only remaining consumer.
|