## 接口的使用
org.springframework.aop.ClassFilter

- 使用ClassFilter的程序包
  程序包 | 说明
  --- | ---
  org.springframework.aop | Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
  org.springframework.aop.aspectj | AspectJ integration package.
  org.springframework.aop.support | Convenience classes for using Spring's AOP API.
  org.springframework.aop.support.annotation | Annotation support for AOP pointcuts.

- - ### org.springframework.aop中ClassFilter的使用

    声明为ClassFilter的org.springframework.aop中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `static ClassFilter` | ClassFilter.`TRUE` Canonical instance of a ClassFilter that matches all classes.

    返回ClassFilter的org.springframework.aop中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ClassFilter` | IntroductionAdvisor.`getClassFilter()` Return the filter determining which target classes this introduction should apply to.
    `ClassFilter` | Pointcut.`getClassFilter()` Return the ClassFilter for this pointcut.

  - ### org.springframework.aop.aspectj中ClassFilter的使用

    实现ClassFilter的org.springframework.aop.aspectj中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AspectJExpressionPointcut` Spring `Pointcut` implementation that uses the AspectJ weaver to evaluate a pointcut expression.
    `class` | `TypePatternClassFilter` Spring AOP `ClassFilter` implementation using AspectJ type matching.

    返回ClassFilter的org.springframework.aop.aspectj中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ClassFilter` | AspectJExpressionPointcut.`getClassFilter()`
    `ClassFilter` | DeclareParentsAdvisor.`getClassFilter()`

  - ### org.springframework.aop.support中ClassFilter的使用

    实现ClassFilter的org.springframework.aop.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ControlFlowPointcut` Pointcut and method matcher for use in simple cflow-style pointcut.
    `class` | `DefaultIntroductionAdvisor` Simple `IntroductionAdvisor` implementation that by default applies to any class.
    `class` | `RootClassFilter` Simple ClassFilter implementation that passes classes (and optionally subclasses).

    返回ClassFilter的org.springframework.aop.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ClassFilter` | ComposablePointcut.`getClassFilter()`
    `ClassFilter` | ControlFlowPointcut.`getClassFilter()`
    `ClassFilter` | DefaultIntroductionAdvisor.`getClassFilter()`
    `ClassFilter` | DynamicMethodMatcherPointcut.`getClassFilter()`
    `ClassFilter` | StaticMethodMatcherPointcut.`getClassFilter()`
    `static ClassFilter` | ClassFilters.`intersection(ClassFilter[] classFilters)` Match all classes that all of the given ClassFilters match.
    `static ClassFilter` | ClassFilters.`intersection(ClassFilter cf1, ClassFilter cf2)` Match all classes that both of the given ClassFilters match.
    `static ClassFilter` | ClassFilters.`union(ClassFilter[] classFilters)` Match all classes that either (or all) of the given ClassFilters matches.
    `static ClassFilter` | ClassFilters.`union(ClassFilter cf1, ClassFilter cf2)` Match all classes that either (or both) of the given ClassFilters matches.

    参数类型为ClassFilter的org.springframework.aop.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ComposablePointcut` | ComposablePointcut.`intersection(ClassFilter other)` Apply an intersection with the given ClassFilter.
    `static ClassFilter` | ClassFilters.`intersection(ClassFilter[] classFilters)` Match all classes that all of the given ClassFilters match.
    `static ClassFilter` | ClassFilters.`intersection(ClassFilter cf1, ClassFilter cf2)` Match all classes that both of the given ClassFilters match.
    `void` | NameMatchMethodPointcutAdvisor.`setClassFilter(ClassFilter classFilter)` Set the `ClassFilter` to use for this pointcut.
    `void` | StaticMethodMatcherPointcut.`setClassFilter(ClassFilter classFilter)` Set the `ClassFilter` to use for this pointcut.
    `ComposablePointcut` | ComposablePointcut.`union(ClassFilter other)` Apply a union with the given ClassFilter.
    `static ClassFilter` | ClassFilters.`union(ClassFilter[] classFilters)` Match all classes that either (or all) of the given ClassFilters matches.
    `static ClassFilter` | ClassFilters.`union(ClassFilter cf1, ClassFilter cf2)` Match all classes that either (or both) of the given ClassFilters matches.

    参数类型为ClassFilter的org.springframework.aop.support中的构造器
    构造器和说明
    `ComposablePointcut(ClassFilter classFilter)` Create a ComposablePointcut for the given ClassFilter, with `MethodMatcher.TRUE`.
    `ComposablePointcut(ClassFilter classFilter, MethodMatcher methodMatcher)` Create a ComposablePointcut for the given ClassFilter and MethodMatcher.

  - ### org.springframework.aop.support.annotation中ClassFilter的使用

    实现ClassFilter的org.springframework.aop.support.annotation中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AnnotationClassFilter` Simple ClassFilter that looks for a specific Java 5 annotation being present on a class.

    返回ClassFilter的org.springframework.aop.support.annotation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ClassFilter` | AnnotationMatchingPointcut.`getClassFilter()`