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.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: whether this method matches staticallythe candidate method method, Class<?> the target class targetClass, boolean true if the object on whose behalf we are
asking is the subject on one or more introductions; false otherwisePerform static checking whether the given method matches. |
| matches | back to summary |
|---|---|
| public boolean matches(Method method, Class<?> targetClass, boolean hasIntroductions) Perform static checking whether the given method matches. This may be invoked
instead of the 2-arg | |