Modifier and Type | Field and Description |
---|---|
private boolean |
allowSubclass |
private Class<?> |
clazz |
Constructor and Description |
---|
InstanceOfFilter(Class<?> clazz,
boolean allowSubclass)
Create a new filter.
|
private final Class<?> clazz
private final boolean allowSubclass
public InstanceOfFilter(Class<?> clazz, boolean allowSubclass)
clazz
- The class to match againstallowSubclass
- If subclasses to the specified class should
be accepted (TRUE) or denied (FALSE)