public static boolean isStringConcatenation(PsiElement element) {
    if (!(element instanceof final PsiPolyadicExpression expression)) return false;
    final PsiType type = expression.getType();
    return type != null && type.equalsToText(JAVA_LANG_STRING);
  }
public static boolean isStringConcatenation(PsiElement element)