java.lang.Object | |
↳ | org.springframework.aop.support.MethodMatchers |
Static utility methods for composing
MethodMatchers
.
A MethodMatcher may be evaluated statically (based on method and target class) or need further evaluation dynamically (based on arguments at the time of method invocation).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Match all methods that both of the given MethodMatchers match.
| |||||||||||
Apply the given MethodMatcher to the given Method, supporting an
IntroductionAwareMethodMatcher
(if applicable). | |||||||||||
Match all methods that either (or both) of the given MethodMatchers matches.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Match all methods that both of the given MethodMatchers match.
mm1 | the first MethodMatcher |
---|---|
mm2 | the second MethodMatcher |
Apply the given MethodMatcher to the given Method, supporting an
IntroductionAwareMethodMatcher
(if applicable).
mm | the MethodMatcher to apply (may be an IntroductionAwareMethodMatcher) |
---|---|
method | the candidate method |
targetClass | the target class (may be null , in which case
the candidate class must be taken to be the method's declaring class) |
hasIntroductions | true if the object on whose behalf we are
asking is the subject on one or more introductions; false otherwise |
Match all methods that either (or both) of the given MethodMatchers matches.
mm1 | the first MethodMatcher |
---|---|
mm2 | the second MethodMatcher |