程序包 infra.aop

类 MethodMatcher.ClassFilterAwareUnionIntroductionAwareMethodMatcher

java.lang.Object
infra.aop.MethodMatcher.UnionMethodMatcher
infra.aop.MethodMatcher.ClassFilterAwareUnionMethodMatcher
infra.aop.MethodMatcher.ClassFilterAwareUnionIntroductionAwareMethodMatcher
所有已实现的接口:
IntroductionAwareMethodMatcher, MethodMatcher, Serializable
封闭接口:
MethodMatcher

public static class MethodMatcher.ClassFilterAwareUnionIntroductionAwareMethodMatcher extends MethodMatcher.ClassFilterAwareUnionMethodMatcher implements IntroductionAwareMethodMatcher
MethodMatcher implementation for a union of two given MethodMatchers of which at least one is an IntroductionAwareMethodMatcher, supporting an associated ClassFilter per MethodMatcher.
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • matches

      public boolean matches(Method method, Class<?> targetClass, boolean hasIntroductions)
      从接口复制的说明: IntroductionAwareMethodMatcher
      Perform static checking whether the given method matches. This may be invoked instead of the 2-arg MethodMatcher.matches(java.lang.reflect.Method, Class) method if the caller supports the extended IntroductionAwareMethodMatcher interface.
      指定者:
      matches 在接口中 IntroductionAwareMethodMatcher
      参数:
      method - the candidate method
      targetClass - the target class
      hasIntroductions - true if the object on whose behalf we are asking is the subject on one or more introductions; false otherwise
      返回:
      whether or not this method matches statically