public abstract class HasTypesPredicate<T extends HasTypes> extends Object implements Predicate<T>
| Modifier and Type | Field and Description |
|---|---|
protected List<Type> |
matchTypes |
| Modifier | Constructor and Description |
|---|---|
protected |
HasTypesPredicate(List<Type> types) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Predicate<Type> |
matchPredicate(Type candidate) |
boolean |
test(T hasTypes) |