void (final @NotNull Project project, @NotNull PsiFile file, Editor editor, @NotNull PsiElement startElement, @NotNull PsiElement endElement) { if (isAvailable(project, null, file)) { invoke(project, (PsiDirectory)startElement); } }