public class AssignableTypeFilter extends AbstractTypeHierarchyTraversingFilter
logger| Constructor and Description |
|---|
AssignableTypeFilter(Class<?> targetType)
Create a new AssignableTypeFilter for the given type.
|
| Modifier and Type | Method and Description |
|---|---|
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 supertype name.
|
protected Boolean |
matchTargetType(String typeName) |
match, matchSelfpublic AssignableTypeFilter(Class<?> targetType)
targetType - the type to matchpublic final Class<?> getTargetType()
type that this instance is using to filter candidates.protected boolean matchClassName(String className)
AbstractTypeHierarchyTraversingFiltermatchClassName in class AbstractTypeHierarchyTraversingFilter@Nullable protected Boolean matchSuperClass(String superClassName)
AbstractTypeHierarchyTraversingFiltermatchSuperClass in class AbstractTypeHierarchyTraversingFilter@Nullable protected Boolean matchInterface(String interfaceName)
AbstractTypeHierarchyTraversingFiltermatchInterface in class AbstractTypeHierarchyTraversingFilter