private static class MethodMatchers.IntersectionIntroductionAwareMethodMatcher extends MethodMatchers.IntersectionMethodMatcher implements IntroductionAwareMethodMatcher
mm1, mm2
TRUE
Constructor and Description |
---|
IntersectionIntroductionAwareMethodMatcher(MethodMatcher mm1,
MethodMatcher mm2) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.reflect.Method method,
java.lang.Class<?> targetClass,
boolean hasIntroductions)
Perform static checking whether the given method matches.
|
equals, hashCode, isRuntime, matches, matches
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isRuntime, matches, matches
public IntersectionIntroductionAwareMethodMatcher(MethodMatcher mm1, MethodMatcher mm2)
public boolean matches(java.lang.reflect.Method method, java.lang.Class<?> targetClass, boolean hasIntroductions)
IntroductionAwareMethodMatcher
MethodMatcher.matches(java.lang.reflect.Method, Class)
method
if the caller supports the extended IntroductionAwareMethodMatcher interface.matches
in interface IntroductionAwareMethodMatcher
method
- the candidate methodtargetClass
- the target classhasIntroductions
- true
if the object on whose behalf we are
asking is the subject on one or more introductions; false
otherwise