Skip to content

Refactor method name dispatching to switch statements #25163

@jhoeller

Description

@jhoeller

Since Java 7, the switch statement can be used with a String value but we haven't really embraced that yet, in particular not for our proxy/interceptor implementations which still use if/else statements and method.getName().equals calls. From a readability perspective, it would be nice to refactor towards switch statements as far as possible.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions