| Modifier and Type | Field and Description |
|---|---|
private boolean |
excludeSuperType |
private Class<?> |
superClass
The class
|
| Constructor and Description |
|---|
AssignableFromFilter(Class<?> superClass)
The constructor.
|
AssignableFromFilter(Class<?> superClass,
boolean excludeSuperClass)
The constructor.
|
private final Class<?> superClass
private final boolean excludeSuperType
public AssignableFromFilter(Class<?> superClass)
superClass - is the super-type defining which types to accept.public boolean accept(Class<?> type)
accept in interface Filter<Class<?>>true if and only if the given type is assignable from
the super-type defined at construction. This means the given
type has to implement/extend the super-type or be equal to it.Copyright © 2001–2019 mmm-Team. All rights reserved.