8000 Extract `AnnotatedElementAdapter` to public type · Issue #34628 · spring-projects/spring-framework · GitHub
[go: up one dir, main page]

Skip to content

Extract AnnotatedElementAdapter to public type #34628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sbrannen opened this issue Mar 20, 2025 · 0 comments
Closed

Extract AnnotatedElementAdapter to public type #34628

sbrannen opened this issue Mar 20, 2025 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

We currently have two private implementations that adapt an array of annotations to an AnnotatedElement: AnnotatedElementUtils.AnnotatedElementForAnnotations and TypeDescriptor.AnnotatedElementAdapter.

The latter has been optimized over the years; whereas, the former has not.

Since there is not much point in keeping both implementations, we should extract AnnotatedElementAdapter to a public type and get rid of AnnotatedElementForAnnotations.

@sbrannen sbrannen self-assigned this Mar 20, 2025
@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Mar 20, 2025
@sbrannen sbrannen added this to the 7.0.0-M4 milestone Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant
0