boolean (PsiPolyadicExpression expression) { for (PsiExpression operand : expression.getOperands()) { if (operand instanceof PsiLiteralExpression literal && ExpressionUtils.hasStringType(operand)) { if (literal.isTextBlock()) { return true; } String value = (String)literal.getValue(); if (value != null && value.contains("\n")) { return true; } } } return false; }