void (@NotNull AnActionEvent e) { DiffRequest request = e.getData(DiffDataKeys.DIFF_REQUEST); DiffContext context = e.getData(DiffDataKeys.DIFF_CONTEXT); if (DiffUtil.isUserDataFlagSet(DiffUserDataKeys.GO_TO_SOURCE_DISABLE, request, context)) return; Project project = e.getProject(); if (project == null) return; Runnable callback = e.getData(AFTER_NAVIGATE_CALLBACK); Navigatable[] navigatables = e.getData(DiffDataKeys.NAVIGATABLE_ARRAY); if (navigatables == null) return; openEditor(project, navigatables, callback); }