void (@NotNull PsiConditionalExpression expression) { super.visitConditionalExpression(expression); if (PsiUtil.isLanguageLevel8OrHigher(expression) && PsiPolyExpressionUtil.isPolyExpression(expression)) { PsiType targetType = expression.getType(); if (targetType == null) return; processConditionalPart(targetType, expression.getThenExpression()); processConditionalPart(targetType, expression.getElseExpression()); } }