void (@NotNull AnActionEvent e) { RelativePoint point = JBPopupFactory.getInstance().guessBestPopupLocation(e.getDataContext()); TestDataNavigationHandler.navigate(point, Collections.singletonList(new TestDataFile.LazyResolved(myFilePath)), myProject); }