org.springframework.core.type.filter

## 接口 TypeFilter

- 所有已知实现类:
    AbstractClassTestingTypeFilter, AbstractTypeHierarchyTraversingFilter, AnnotationTypeFilter, AspectJTypeFilter, AssignableTypeFilter, RegexPatternTypeFilter
  函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

      @FunctionalInterface
      public interface TypeFilter

  Base interface for type filters using a `MetadataReader`.
  从以下版本开始:
    2.5
  作者:
    Costin Leau, Juergen Hoeller, Mark Fisher

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)` Determine whether this filter matches for the class described by the given metadata.

- - ### 方法详细资料

    - #### match

          boolean match(MetadataReader metadataReader,
                        MetadataReaderFactory metadataReaderFactory)
                 throws IOException

      Determine whether this filter matches for the class described by the given metadata.
      参数:
        `metadataReader` - the metadata reader for the target class
        `metadataReaderFactory` - a factory for obtaining metadata readers for other classes (such as superclasses and interfaces)
      返回:
        whether this filter matches
      抛出:
        `IOException` - in case of I/O failure when reading metadata