Skip to content
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

Annotate core functional SPIs in SpEL with @FunctionalInterface #32135

Closed
sbrannen opened this issue Jan 26, 2024 · 0 comments
Closed

Annotate core functional SPIs in SpEL with @FunctionalInterface #32135

sbrannen opened this issue Jan 26, 2024 · 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

sbrannen commented Jan 26, 2024

In the org.springframework.expression package, we have the following functional interfaces.

  • BeanResolver
  • ConstructorExecutor
  • ConstructorResolver
  • MethodExecutor
  • MethodFilter
  • MethodResolver

However, currently only MethodFilter and ConstructorResolver are actually annotated with @FunctionalInterface.

For consistency, we should annotate each of the remaining functional SPIs with @FunctionalInterface.

@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Jan 26, 2024
@sbrannen sbrannen added this to the 6.1.4 milestone Jan 26, 2024
@sbrannen sbrannen self-assigned this Jan 26, 2024
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