public class AssignableTypeFilter extends AbstractTypeHierarchyTraversingFilter
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
targetType |
logger
Constructor and Description |
---|
AssignableTypeFilter(java.lang.Class<?> targetType)
Create a new AssignableTypeFilter for the given type.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
matchClassName(java.lang.String className)
Override this to match on type name.
|
protected java.lang.Boolean |
matchInterface(java.lang.String interfaceName)
Override this to match on interface type name.
|
protected java.lang.Boolean |
matchSuperClass(java.lang.String superClassName)
Override this to match on super type name.
|
protected java.lang.Boolean |
matchTargetType(java.lang.String typeName) |
match, matchSelf
public AssignableTypeFilter(java.lang.Class<?> targetType)
targetType
- the type to matchprotected boolean matchClassName(java.lang.String className)
AbstractTypeHierarchyTraversingFilter
matchClassName
in class AbstractTypeHierarchyTraversingFilter
protected java.lang.Boolean matchSuperClass(java.lang.String superClassName)
AbstractTypeHierarchyTraversingFilter
matchSuperClass
in class AbstractTypeHierarchyTraversingFilter
protected java.lang.Boolean matchInterface(java.lang.String interfaceName)
AbstractTypeHierarchyTraversingFilter
matchInterface
in class AbstractTypeHierarchyTraversingFilter
protected java.lang.Boolean matchTargetType(java.lang.String typeName)