## 接口的使用
org.springframework.core.type.classreading.MetadataReader

- 使用MetadataReader的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.type.classreading | Support classes for reading annotation and class-level metadata.
  org.springframework.core.type.filter | Core support package for type filtering (e.g. for classpath scanning).

- - ### org.springframework.core.type.classreading中MetadataReader的使用

    返回MetadataReader的org.springframework.core.type.classreading中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `MetadataReader` | CachingMetadataReaderFactory.`getMetadataReader(Resource resource)`
    `MetadataReader` | MetadataReaderFactory.`getMetadataReader(Resource resource)` Obtain a MetadataReader for the given resource.
    `MetadataReader` | SimpleMetadataReaderFactory.`getMetadataReader(Resource resource)`
    `MetadataReader` | MetadataReaderFactory.`getMetadataReader(String className)` Obtain a MetadataReader for the given class name.
    `MetadataReader` | SimpleMetadataReaderFactory.`getMetadataReader(String className)`

  - ### org.springframework.core.type.filter中MetadataReader的使用

    参数类型为MetadataReader的org.springframework.core.type.filter中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | AbstractClassTestingTypeFilter.`match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)`
    `boolean` | AbstractTypeHierarchyTraversingFilter.`match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)`
    `boolean` | AspectJTypeFilter.`match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)`
    `boolean` | TypeFilter.`match(MetadataReader metadataReader, MetadataReaderFactory metadataReaderFactory)` Determine whether this filter matches for the class described by the given metadata.
    `protected boolean` | AbstractTypeHierarchyTraversingFilter.`matchSelf(MetadataReader metadataReader)` Override this to match self characteristics alone.
    `protected boolean` | AnnotationTypeFilter.`matchSelf(MetadataReader metadataReader)`