Overview

While working on #30692, I noticed that we currently do not invoke shadowed package-private init/destroy methods declared in a different package.

Instead, we only invoke the last such init/destroy method found in the type hierarchy.

We should therefore track "non-visible" package-private init/destroy methods by their fully-qualified method name, analogous to how we track private init/destroy methods.

Related Issues

  • 10614

  • 30692

  • 30724