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, toString
public AssignableToFieldTypeMatcherStrategy(Class<?> fieldType)
public boolean matches(Field field)
FieldMatcherStrategy
matches
in class FieldTypeMatcherStrategy
field
- The field to check whether it matches the strategy or not.true
if this field matches the strategy,
false
otherwise.Copyright © 2007–2015. All rights reserved.