public class AssignableToFieldTypeMatcherStrategy extends FieldTypeMatcherStrategy
| Constructor and Description |
|---|
AssignableToFieldTypeMatcherStrategy(Class<?> fieldType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Field field)
A field matcher that checks if a field matches a given criteria.
|
notFound, toStringpublic AssignableToFieldTypeMatcherStrategy(Class<?> fieldType)
public boolean matches(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.Copyright © 2007–2016. All rights reserved.