org.springframework.aop

## 接口 IntroductionAwareMethodMatcher

- 所有超级接口:
    MethodMatcher
  所有已知实现类:
    AspectJExpressionPointcut

      public interface IntroductionAwareMethodMatcher
      extends MethodMatcher

  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.
  从以下版本开始:
    2.0
  作者:
    Adrian Colyer

- - ### 字段概要

    - ### 从接口继承的字段 org.springframework.aop.MethodMatcher

      `TRUE`

  - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `matches(Method method, Class<?> targetClass, boolean hasIntroductions)` Perform static checking whether the given method matches.

    - ### 从接口继承的方法 org.springframework.aop.MethodMatcher

      `isRuntime, matches, matches`

- - ### 方法详细资料

    - #### matches

          boolean matches(Method method,
                          @Nullable
                          Class<?> targetClass,
                          boolean hasIntroductions)

      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.
      参数:
        `method` - the candidate method
        `targetClass` - the target class (may be `null`, in which case the candidate class must be taken to be the method's declaring 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