void (@NotNull Project project, Editor editor, PsiFile file, DataContext dataContext) { PsiElement element = findTargetMember(file, editor); if (element == null) { element = CommonDataKeys.PSI_ELEMENT.getData(dataContext); } invokeOnElement(project, element, editor); }