void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return; ShowUsagesActionState state = getState(project); Runnable continuation = state.continuation; if (continuation != null) { state.continuation = null; hideHints(); // This action is invoked when the hint is showing because it implements HintManagerImpl.ActionToIgnore continuation.run(); return; } PsiDocumentManager.getInstance(project).commitAllDocuments(); DataContext dataContext = e.getDataContext(); showUsages(project, dataContext, ResolverKt.allTargets(dataContext)); }