boolean (final Project project, @NotNull final ExtractMethodProcessor processor, final PsiFile file, final boolean directTypes) { return invokeOnElements(project, openEditor(file), processor, directTypes); }