private static class PropertyMatches.FieldPropertyMatches extends PropertyMatches
DEFAULT_MAX_DISTANCE
Constructor and Description |
---|
FieldPropertyMatches(java.lang.String propertyName,
java.lang.Class<?> beanClass,
int maxDistance) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildErrorMessage()
Build an error message for the given invalid property name,
indicating the possible property matches.
|
private static java.lang.String[] |
calculateMatches(java.lang.String propertyName,
java.lang.Class<?> beanClass,
int maxDistance) |
appendHintMessage, forField, forField, forProperty, forProperty, getPossibleMatches, getPropertyName
public FieldPropertyMatches(java.lang.String propertyName, java.lang.Class<?> beanClass, int maxDistance)
private static java.lang.String[] calculateMatches(java.lang.String propertyName, java.lang.Class<?> beanClass, int maxDistance)
public java.lang.String buildErrorMessage()
PropertyMatches
buildErrorMessage
in class PropertyMatches