boolean (@NotNull PsiElement patternNode, final PsiElement matchedNode, @NotNull MatchContext context) { return (filter != null) ? filter.accepts(matchedNode) : DefaultFilter.accepts(patternNode, matchedNode); }