void (@NotNull AnActionEvent e) { final DataContext dataContext = e.getDataContext(); final Project project = e.getProject(); if (project == null) return; final Editor editor = e.getData(CommonDataKeys.EDITOR); final JBPopupFactory popupFactory = JBPopupFactory.getInstance(); final RelativePoint point = editor != null ? popupFactory.guessBestPopupLocation(editor) : popupFactory.guessBestPopupLocation(dataContext); List<TestDataFile> fileNames = findTestDataFiles(dataContext, project, true); if (fileNames.isEmpty()) { Notification notification = new Notification( "testdata", DevKitBundle.message("testdata.notification.no.test.datafiles.title"), DevKitBundle.message("testdata.notification.no.test.datafiles.content"), NotificationType.INFORMATION); Notifications.Bus.notify(notification, project); } else { TestDataNavigationHandler.navigate(point, fileNames, project); } }