protected static boolean quickMatch(Matcher<?> matcher, Object item, Description mismatch) {
        return QuickDiagnose.matches(matcher, item, mismatch);
    }
protected static boolean quickMatch ( Matcher < ? > matcher , Object item , Description mismatch ) { return QuickDiagnose . matches ( matcher , item , mismatch ) ; }
Uses the {@code matcher} to validate {@code item}.
If validation fails, an error message is appended to {@code mismatch}.
<p>
The code is equivalent to
<pre>{@code
if (matcher.matches(item)) {
return true;
} else {
matcher.describeMismatch(item, mismatch);
return false;
}
}</pre>
but uses optimizations for diagnosing matchers.

@param matcher
@param item
@param mismatch
@return {@code true} iif {@code item} was matched
@see DiagnosingMatcher
@see QuickDiagnosingMatcher