When a hierarchy of components implement BeanRegistrationAotProcessor
, it can happen that the contribution of the parent should be merged with whatever the child is doing. Given the fact that a contribution can be null
on both sides it can be a bit involved so offering a standard method should help with this case.