public class AssignableToFieldTypeMatcherStrategy extends FieldTypeMatcherStrategy
| Constructor and Description |
|---|
AssignableToFieldTypeMatcherStrategy(java.lang.Class<?> fieldType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(java.lang.reflect.Field field)
A field matcher that checks if a field matches a given criteria.
|
notFound, toStringpublic AssignableToFieldTypeMatcherStrategy(java.lang.Class<?> fieldType)
public boolean matches(java.lang.reflect.Field field)
FieldMatcherStrategymatches in class FieldTypeMatcherStrategyfield - The field to check whether it matches the strategy or not.true if this field matches the strategy,
false otherwise.