Package org.springframework.aop
Interface IntroductionAwareMethodMatcher
- All Superinterfaces:
- MethodMatcher
- All Known Implementing Classes:
- AspectJExpressionPointcut
A specialized type of 
MethodMatcher that takes into account introductions
 when matching methods. If there are no introductions on the target class,
 a method matcher may be able to optimize matching more effectively for example.- Since:
- 2.0
- Author:
- Adrian Colyer
- 
Field SummaryFields inherited from interface org.springframework.aop.MethodMatcherTRUE
- 
Method SummaryMethods inherited from interface org.springframework.aop.MethodMatcherisRuntime, matches, matches
- 
Method Details- 
matchesPerform static checking whether the given method matches. This may be invoked instead of the 2-argMethodMatcher.matches(java.lang.reflect.Method, Class)method if the caller supports the extended IntroductionAwareMethodMatcher interface.- Parameters:
- method- the candidate method
- targetClass- the target class
- hasIntroductions-- trueif the object on whose behalf we are asking is the subject on one or more introductions;- falseotherwise
- Returns:
- whether or not this method matches statically
 
 
-