public class AssignableTypeFilter extends AbstractTypeHierarchyTraversingFilter
Constructor and Description |
---|
AssignableTypeFilter(Class<?> targetType)
Create a new AssignableTypeFilter for the given type.
|
Modifier and Type | Method and Description |
---|---|
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) |
match, matchSelf
public AssignableTypeFilter(Class<?> targetType)
targetType
- the type to matchprotected boolean matchClassName(String className)
AbstractTypeHierarchyTraversingFilter
matchClassName
in class AbstractTypeHierarchyTraversingFilter
protected Boolean matchSuperClass(String superClassName)
AbstractTypeHierarchyTraversingFilter
matchSuperClass
in class AbstractTypeHierarchyTraversingFilter
protected Boolean matchInterface(String interfaceName)
AbstractTypeHierarchyTraversingFilter
matchInterface
in class AbstractTypeHierarchyTraversingFilter