Annotate core functional SPIs in SpEL with @FunctionalInterface
#32135
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
In the
org.springframework.expression
package, we have the following functional interfaces.BeanResolver
ConstructorExecutor
ConstructorResolver
MethodExecutor
MethodFilter
MethodResolver
However, currently only
MethodFilter
andConstructorResolver
are actually annotated with@FunctionalInterface
.For consistency, we should annotate each of the remaining functional SPIs with
@FunctionalInterface
.The text was updated successfully, but these errors were encountered: