PsiExpression (@NotNull PsiExpression expression) { final PsiElement parent = expression.getParent(); if (parent instanceof PsiBinaryExpression binaryExpression) { return !ComparisonUtils.isComparisonOperation(binaryExpression.getOperationTokenType()) ? getContainingExpression(binaryExpression) : expression; } else if (parent instanceof PsiPolyadicExpression || parent instanceof PsiParenthesizedExpression || parent instanceof PsiPrefixExpression || parent instanceof PsiConditionalExpression) { return getContainingExpression((PsiExpression)parent); } return expression; }