public boolean match(PsiElement patternNode, PsiElement matchedNode, @NotNull MatchContext context) {
    return (patternNode == null) ? matchedNode == null : canMatch(patternNode, matchedNode, context);
  }
public boolean match(PsiElement patternNode, PsiElement matchedNode, @NotNull MatchContext context)