Overview
Since #28207 has introduced support for providing a Predicate<Class<?>> that allows for complete control over the "enclosing classes" aspect of the search algorithm in MergedAnnotations, the deprecated TYPE_HIERARCHY_AND_ENCLOSING_CLASSES search strategy can now be completely removed.
Related Issues