Fixes gh-24968
Comment From: mhalbritter
Hey @terminux, thanks for the PR. Andy left a comment on the issue. Did you take this into account?
Comment From: terminux
Thanks for your reply @mhalbritter. This PR was submitted based on Andy's comment. It's essentially a variant of AnnotatedTypeMetadata.getAllAnnotationAttributes(String) , simplifying some logic and accounting for attribute overriding.
I didn't modify the code in metaAndDirectAnnotationConditionDoesNotMatchWhenOnlyDirectPropertyIsSet and this unit test passed.
Comment From: wilkinsona
Thanks very much, @terminux.