void (@NotNull PsiFile psiFile) { assertMyFile(psiFile.getProject(), psiFile); Document document = psiFile.getViewProvider().getDocument(); if (document == null) return; String reason = "Psi file restart: " + psiFile.getName(); myFileStatusMap.markFileScopeDirty(document, new TextRange(0, document.getTextLength()), psiFile.getTextLength(), reason); stopProcess(true, reason); }