public void removeDataFromIndicesForFile(int fileId, @NotNull VirtualFile file, @NotNull String cause) {
    VfsEventsMerger.tryLog("REMOVE", file, () -> {
      return "cause=" + cause;
    });

    final List<ID<?, ?>> states = IndexingStamp.getNontrivialFileIndexedStates(fileId);

    cleanProcessingFlag(fileId);
    if (!states.isEmpty()) {
      ProgressManager.getInstance().executeNonCancelableSection(() -> removeFileDataFromIndices(states, fileId, file));
    }
  }
public void removeDataFromIndicesForFile(int fileId, @NotNull VirtualFile file, @NotNull String cause)