void recordFileEvent(@NotNull VirtualFile file, boolean contentChange) {
    tryLog(contentChange ? "FILE_CONTENT_CHANGED" : "FILE_ADDED", file);
    updateChange(file, contentChange ? FILE_CONTENT_CHANGED : FILE_ADDED);
  }
void recordFileEvent(@NotNull VirtualFile file, boolean contentChange)