@Override
    protected boolean matchesSafely(T bean, Description mismatchDescription) {
        V value = accessor.apply(bean);
        boolean valueMatches = matcher.matches(value);
        if (!valueMatches) {
            mismatchDescription.appendText("value \"" + path.toString() + "\" ");
            matcher.describeMismatch(value, mismatchDescription);
        }
        return valueMatches;
    }
Matches based on the current value of a path.

@author Jeroen van Schagen
@author tiwe

@param <T> type of the path root
@param <V> type of value being matched
querydsl-collections/src/main/java/com/querydsl/collections/PathMatcher.java