org.springframework.core.type.filter

## 类 AssignableTypeFilter

- java.lang.Object
- - org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter
  - - org.springframework.core.type.filter.AssignableTypeFilter

- 所有已实现的接口:
    TypeFilter

      public class AssignableTypeFilter
      extends AbstractTypeHierarchyTraversingFilter

  A simple filter which matches classes that are assignable to a given type.
  从以下版本开始:
    2.5
  作者:
    Rod Johnson, Mark Fisher, Ramnivas Laddad

- - ### 字段概要

    - ### 从类继承的字段 org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter

      `logger`

  - ### 构造器概要

    构造器
    构造器和说明
    `AssignableTypeFilter(Class<?> targetType)` Create a new AssignableTypeFilter for the given type.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Class<?>` | `getTargetType()` Return the `type` that this instance is using to filter candidates.
    `protected boolean` | `matchClassName(String className)` Override this to match on type name.
    `protected Boolean` | `matchInterface(String interfaceName)` Override this to match on interface type name.
    `protected Boolean` | `matchSuperClass(String superClassName)` Override this to match on super type name.
    `protected Boolean` | `matchTargetType(String typeName)`

    - ### 从类继承的方法 org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter

      `match, matchSelf`

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

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

- - ### 构造器详细资料

    - #### AssignableTypeFilter

          public AssignableTypeFilter(Class<?> targetType)

      Create a new AssignableTypeFilter for the given type.
      参数:
        `targetType` - the type to match

  - ### 方法详细资料

    - #### getTargetType

          public final Class<?> getTargetType()

      Return the `type` that this instance is using to filter candidates.
      从以下版本开始:
        5.0

    - #### matchClassName

          protected boolean matchClassName(String className)

      从类复制的说明: `AbstractTypeHierarchyTraversingFilter`
      Override this to match on type name.
      覆盖:
        `matchClassName` 在类中 `AbstractTypeHierarchyTraversingFilter`

    - #### matchSuperClass

          @Nullable
          protected Boolean matchSuperClass(String superClassName)

      从类复制的说明: `AbstractTypeHierarchyTraversingFilter`
      Override this to match on super type name.
      覆盖:
        `matchSuperClass` 在类中 `AbstractTypeHierarchyTraversingFilter`

    - #### matchInterface

          @Nullable
          protected Boolean matchInterface(String interfaceName)

      从类复制的说明: `AbstractTypeHierarchyTraversingFilter`
      Override this to match on interface type name.
      覆盖:
        `matchInterface` 在类中 `AbstractTypeHierarchyTraversingFilter`

    - #### matchTargetType

          @Nullable
          protected Boolean matchTargetType(String typeName)