void (@Nullable FrameworkLibraryProvider provider) { if (provider != null && !ContainerUtil.intersects(provider.getAvailableLibraryKinds(), myLibraryDescription.getSuitableLibraryKinds())) { provider = null; } if (!Comparing.equal(myLibraryProvider, provider)) { myLibraryProvider = provider; if (mySettings != null) { if (provider != null && !myUseFromProviderRadioButton.isVisible()) { myUseFromProviderRadioButton.setSelected(true); } myUseFromProviderRadioButton.setVisible(provider != null); updateState(); } } }