类 AssignableTypeFilter
java.lang.Object
cn.taketoday.core.type.filter.AbstractTypeHierarchyTraversingFilter
cn.taketoday.core.type.filter.AssignableTypeFilter
- 所有已实现的接口:
TypeFilter
A simple filter which matches classes that are assignable to a given type.
- 从以下版本开始:
- 4.0
- 作者:
- Rod Johnson, Mark Fisher, Ramnivas Laddad, TODAY
-
字段概要
字段 -
构造器概要
构造器构造器说明AssignableTypeFilter(Class<?> targetType) Create a new AssignableTypeFilter for the given type. -
方法概要
修饰符和类型方法说明final Class<?>Return thetypethat this instance is using to filter candidates.protected booleanmatchClassName(String className) Override this to match on type name.protected BooleanmatchInterface(String interfaceName) Override this to match on interface type name.protected BooleanmatchSuperClass(String superClassName) Override this to match on super type name.protected BooleanmatchTargetType(String typeName) 从类继承的方法 cn.taketoday.core.type.filter.AbstractTypeHierarchyTraversingFilter
match, matchSelf
-
字段详细资料
-
targetType
-
-
构造器详细资料
-
AssignableTypeFilter
Create a new AssignableTypeFilter for the given type.- 参数:
targetType- the type to match
-
-
方法详细资料
-
getTargetType
Return thetypethat this instance is using to filter candidates. -
matchClassName
Override this to match on type name. -
matchSuperClass
Override this to match on super type name. -
matchInterface
Override this to match on interface type name. -
matchTargetType
-