@Override
    public @NotNull Map<TodoIndexEntry, Integer> read(@NotNull DataInput in) throws IOException {
      int size = DataInputOutputUtil.readINT(in);
      if (size == 0) return Collections.emptyMap();
      Map<TodoIndexEntry, Integer> map = new HashMap<>(size);
      for (int i = 0; i < size; i++) {
        String pattern = IOUtil.readUTF(in);
        boolean caseSensitive = in.readBoolean();
        TodoIndexEntry entry = new TodoIndexEntry(pattern, caseSensitive);
        map.put(entry, DataInputOutputUtil.readINT(in));
      }
      return map;
    }
@Override
    public @NotNull Map<TodoIndexEntry, Integer> read(@NotNull DataInput in)