void (@NotNull final Project project, final Editor editor, final PsiFile file, final DataContext dataContext) { ExtractMethodHandler.selectAndPass(project, editor, file, selectedValue-> invokeOnElements(project, editor, file, selectedValue)); }