static @Nullable StickyLinesModelImpl getModel(@NotNull Project project, @NotNull Document document) {
    if (project.isDisposed()) {
      return null;
    }
    MarkupModel markupModel = DocumentMarkupModel.forDocument(document, project, false);
    if (markupModel == null) {
      return null;
    }
    return getModel(markupModel);
  }
static @Nullable StickyLinesModelImpl getModel(@NotNull Project project, @NotNull Document document)