private static int getExpressionPosition(@NotNull PsiExpressionList expressionList, @NotNull PsiExpression expression) {
    var expressions = expressionList.getExpressions();
    for (int i = 0; i < expressions.length; ++i) {
      if (expressions[i].equals(expression)) {
        return i;
      }
    }
    return -1;
  }
private static int getExpressionPosition(@NotNull PsiExpressionList expressionList, @NotNull PsiExpression expression)