Skip to content

AnnotatedElementUtils.getAllAnnotationAttributes(…, "javax.annotation.Nonnull") returns null #22696

Closed
@mp911de

Description

@mp911de

Calling AnnotatedElementUtils.getAllAnnotationAttributes(…, "javax.annotation.Nonnull") with version 5.2.0.BUILD-SNAPSHOT for org.springframework.lang.NonNullApi.class and javax.annotation.ParametersAreNonnullByDefault.class annotation types returns null.

Previously (5.1 and earlier), the method returned MultiValueMap containing annotation attributes.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions