org.springframework.aop.support
static class: MethodMatchers.ClassFilterAwareUnionMethodMatcher [javadoc |
source]
java.lang.Object
org.springframework.aop.support.MethodMatchers$UnionMethodMatcher
org.springframework.aop.support.MethodMatchers$ClassFilterAwareUnionMethodMatcher
All Implemented Interfaces:
IntroductionAwareMethodMatcher, Serializable
MethodMatcher implementation for a union of two given MethodMatchers,
supporting an associated ClassFilter per MethodMatcher.
| Method from org.springframework.aop.support.MethodMatchers$ClassFilterAwareUnionMethodMatcher Detail: |
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof ClassFilterAwareUnionMethodMatcher)) {
return false;
}
ClassFilterAwareUnionMethodMatcher that = (ClassFilterAwareUnionMethodMatcher) other;
return (this.cf1.equals(that.cf1) && this.cf2.equals(that.cf2) && super.equals(other));
}
|
protected boolean matchesClass1(Class targetClass) {
return this.cf1.matches(targetClass);
}
|
protected boolean matchesClass2(Class targetClass) {
return this.cf2.matches(targetClass);
}
|