void (@NotNull PsiPrefixExpression expression) { super.visitPrefixExpression(expression); if (!JavaTokenType.EXCL.equals(expression.getOperationTokenType())) { return; } final PsiExpression operand = PsiUtil.skipParenthesizedExprDown(expression.getOperand()); if (!(operand instanceof PsiConditionalExpression)) { return; } registerError(expression.getOperationSign()); }