void (@NotNull Project project, @NotNull PsiFile file, @Nullable Editor editor, @NotNull PsiElement startElement, @NotNull PsiElement endElement) { if (FileDocumentManager.getInstance().isFileModified(file.getVirtualFile())) return; super.invoke(project, file, editor, startElement, endElement); }