@Override
    public @NotNull Function<? super @NotNull FileEditor, @Nullable T> collectNotificationData(@NotNull Project project,
                                                                                               @NotNull VirtualFile file) {
      return fileEditor -> createNotificationPanel(file, fileEditor, project);
    }
@Override
    public @NotNull Function<? super @NotNull FileEditor, @Nullable T> collectNotificationData(@NotNull Project project,
                                                                                               @NotNull VirtualFile file)