public FileIndexingState getSubIndexerState(int fileId, @NotNull IndexedFile file) throws IOException {
    int indexerId = myFileAttribute.readInt(fileId);
    if (indexerId == 0) {
      return FileIndexingState.OUT_DATED;
    } else if (indexerId == UNINDEXED_STATE) {
      return FileIndexingState.NOT_INDEXED;
    } else {
      int actualVersion = getFileIndexerId(file);
      return actualVersion == indexerId ? FileIndexingState.UP_TO_DATE : FileIndexingState.OUT_DATED;
    }
  }
public FileIndexingState getSubIndexerState(int fileId, @NotNull IndexedFile file)