void (@NotNull Project project, @NotNull DataContext dataContext, @NotNull List<? extends @NotNull TargetVariant> targetVariants) { Editor editor = dataContext.getData(CommonDataKeys.EDITOR); RelativePoint popupPosition = JBPopupFactory.getInstance().guessBestPopupLocation(dataContext); SearchScope searchScope = FindUsagesOptions.findScopeByName(project, dataContext, FindSettings.getInstance().getDefaultScopeName()); try (AccessToken ignored = SlowOperations.startSection(SlowOperations.ACTION_PERFORM)) { findShowUsages( project, dataContext, targetVariants, FindBundle.message("show.usages.ambiguous.title"), createVariantHandler(project, editor, popupPosition, searchScope) ); } }