docs: public static Optional<OffsetRange<CharOffset>> charOffsetsOfWholeString(String s) {
      if (s.isEmpty()) {
        return Optional.absent();
      }
      return Optional.of(charOffsetRange(0, s.length() - 1));
    }