void (@NotNull PsiExpression expression) { super.visitExpression(expression); if (!(expression.getParent() instanceof PsiExpressionStatement) && !(expression instanceof PsiParenthesizedExpression)) { final MatchingHandler handler = myCompilingVisitor.getContext().getPattern().getHandler(expression); if (handler.getFilter() == null) { handler.setFilter(e -> DefaultFilter.accepts(expression, (e instanceof PsiExpression) ? PsiUtil.skipParenthesizedExprDown((PsiExpression)e) : e)); } } }