void () { if (myConfigurableWithInitializedUiComponent != null) return; UnnamedConfigurable configurable = getSettings().getConfigurableWithInitializedUiComponent(myConfigurableId, true); if (configurable instanceof ConfigurableWrapper) { configurable = ((ConfigurableWrapper)configurable).getRawConfigurable(); } if (configurable == null) { LOG.error("Failed to initialize configurable with id=" + myConfigurableId); return; } if (!myConfigurableClass.isInstance(configurable)) { LOG.error("Unexpected configurable type:" + configurable.getClass() + "\n" + configurable); return; } //noinspection unchecked myConfigurableWithInitializedUiComponent = (Conf)configurable; }