void (PsiFile file) { final VirtualFile virtualFile = file.getVirtualFile(); if (virtualFile == null) return; for (VirtualFilePointer pointer : myAssociations.keySet()) { if (pointer.getUrl().equals(virtualFile.getUrl())) { myAssociations.remove(pointer); touch(); return; } } }