@Override
    public void save(@NotNull DataOutput out,
                     @NotNull Map<TodoIndexEntry, Integer> value) throws IOException {
      int size = value.size();
      DataInputOutputUtil.writeINT(out, size);
      if (size <= 0) return;
      for (TodoIndexEntry entry : value.keySet()) {
        IOUtil.writeUTF(out, entry.pattern);
        out.writeBoolean(entry.caseSensitive);
        DataInputOutputUtil.writeINT(out, value.get(entry));
      }
    }
@Override
    public void save(@NotNull DataOutput out,
                     @NotNull Map<TodoIndexEntry, Integer> value)