void (@NotNull Language language) { PsiReferenceRegistrarImpl psiReferenceRegistrar = myRegistrars.remove(language); if (psiReferenceRegistrar != null) { psiReferenceRegistrar.cleanup(); } for (PsiReferenceRegistrarImpl registrar : myRegistrars.values()) { registrar.clearBindingsCache(); } }