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, matchSelf
public 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)
AbstractTypeHierarchyTraversingFilter
matchClassName
in class AbstractTypeHierarchyTraversingFilter
@Nullable protected Boolean matchSuperClass(String superClassName)
AbstractTypeHierarchyTraversingFilter
matchSuperClass
in class AbstractTypeHierarchyTraversingFilter
@Nullable protected Boolean matchInterface(String interfaceName)
AbstractTypeHierarchyTraversingFilter
matchInterface
in class AbstractTypeHierarchyTraversingFilter