void (@NotNull Class<?> scope, @NotNull PsiReferenceProvider provider) { SimpleProviderBinding binding = myBindingsMap.get(scope); if (binding != null) { binding.unregisterProvider(provider); if (binding.isEmpty()) { myBindingsMap.remove(scope); } } clearBindingsCache(); }