@NotNull
  public static LineOffsets create(@NotNull Document document) {
    return new LineOffsetsDocumentWrapper(document);
  }
@NotNull
  public static LineOffsets create(@NotNull Document document)