@RequiresReadLock
  @Nullable
  Function<? super @NotNull FileEditor, ? extends @Nullable JComponent> collectNotificationData(@NotNull Project project,
                                                                                                @NotNull VirtualFile file);
@RequiresReadLock
  @Nullable
  Function<? super @NotNull FileEditor, ? extends @Nullable JComponent> collectNotificationData(@NotNull Project project,
                                                                                                @NotNull VirtualFile file)