@ApiStatus.Internal
  public static void setDocument(@NotNull PsiFile file, @NotNull Document document) {
    file.putUserData(DOCUMENT_KEY, document);
  }
@ApiStatus.Internal
  public static void setDocument(@NotNull PsiFile file, @NotNull Document document)