private boolean isReachable(ValidationContext<?> validationContext, Object traversableObject, PathImpl path, ElementType type) {
if ( needToCallTraversableResolver( path, type ) ) {
return true;
}
Path pathToObject = path.getPathWithoutLeafNode();
try {
return validationContext.getTraversableResolver().isReachable(
traversableObject,
path.getLeafNode(),
validationContext.getRootBeanClass(),