void (@NotNull PsiReferenceRegistrarImpl registrar, @NotNull PsiReferenceContributor contributor) { contributor.registerReferenceProviders(new TrackingReferenceRegistrar(registrar, contributor)); Disposer.register(ApplicationManager.getApplication(), contributor); }