Closed
Description
Historically, StandardAnnotationMetadata
operates against Class.getAnnotations()
, potentially seeing inherited annotations as well. This is inconsistent within the AnnotationMetadata
abstraction since its ASM implementation operates against locally declared annotations only.
Let's make this consistent in 5.2 since inherited annotations aren't relevant for our component and configuration class introspection purposes, and in particular should be consistently ignored across Class
-declared and component-scanned beans.