org.springframework.aop.support

## 类 Pointcuts

- java.lang.Object
- - org.springframework.aop.support.Pointcuts

-     public abstract class Pointcuts
      extends Object

  Pointcut constants for matching getters and setters, and static methods useful for manipulating and evaluating pointcuts. These methods are particularly useful for composing pointcuts using the union and intersection methods.
  作者:
    Rod Johnson, Juergen Hoeller

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static Pointcut` | `GETTERS` Pointcut matching all bean property getters, in any class
    `static Pointcut` | `SETTERS` Pointcut matching all bean property setters, in any class

  - ### 构造器概要

    构造器
    构造器和说明
    `Pointcuts()`

  - ### 方法概要

    所有方法 静态方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `static Pointcut` | `intersection(Pointcut pc1, Pointcut pc2)` Match all methods that both the given pointcuts match.
    `static boolean` | `matches(Pointcut pointcut, Method method, Class<?> targetClass, Object... args)` Perform the least expensive check for a pointcut match.
    `static Pointcut` | `union(Pointcut pc1, Pointcut pc2)` Match all methods that either (or both) of the given pointcuts matches.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### SETTERS

          public static final Pointcut SETTERS

      Pointcut matching all bean property setters, in any class

    - #### GETTERS

          public static final Pointcut GETTERS

      Pointcut matching all bean property getters, in any class

  - ### 构造器详细资料

    - #### Pointcuts

          public Pointcuts()

  - ### 方法详细资料

    - #### union

          public static Pointcut union(Pointcut pc1,
                                       Pointcut pc2)

      Match all methods that either (or both) of the given pointcuts matches.
      参数:
        `pc1` - the first Pointcut
        `pc2` - the second Pointcut
      返回:
        a distinct Pointcut that matches all methods that either of the given Pointcuts matches

    - #### intersection

          public static Pointcut intersection(Pointcut pc1,
                                              Pointcut pc2)

      Match all methods that both the given pointcuts match.
      参数:
        `pc1` - the first Pointcut
        `pc2` - the second Pointcut
      返回:
        a distinct Pointcut that matches all methods that both of the given Pointcuts match

    - #### matches

          public static boolean matches(Pointcut pointcut,
                                        Method method,
                                        Class<?> targetClass,
                                        Object... args)

      Perform the least expensive check for a pointcut match.
      参数:
        `pointcut` - the pointcut to match
        `method` - the candidate method
        `targetClass` - the target class
        `args` - arguments to the method
      返回:
        whether there's a runtime match