boolean (PsiFile psiFile) { ApplicationManager.getApplication().assertWriteIntentLockAcquired(); VirtualFile vFile = psiFile.getVirtualFile(); return myFileTree.contains(vFile) || myDirtyFileSet.contains(vFile); }