Support pattern matching for method names in ControlFlowPointcut
#31435
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Overview
To address the lack of support for pattern matching for methods names in
ControlFlowPointcut
as discussed in #27187, we have decided to introduce such support inControlFlowPointcut
analogous to the support already available inNameMatchMethodPointcut
.Specifically, we intend to introduce a
protected
method along the lines ofNameMatchMethodPointcut#isMatch(String, String)
which by default delegates toPatternMatchUtils.simpleMatch(String, String)
.That will likely cover the most common use cases for pattern matching; however, users will still be able to extend
ControlFlowPointcut
and overrideisMatch(...)
in order to support different styles of pattern matching such as regular expressions.Related Issues
ControlFlowPointcut
extensibility #27187The text was updated successfully, but these errors were encountered: