private static @NotNull String suggestIndexType(@NotNull PsiExpression expr) {
    PsiType type = expr.getType();
    if (isNumber(type)) {
      return type.getCanonicalText();
    }
    return "int";
  }
private static @NotNull String suggestIndexType(@NotNull PsiExpression expr)