void (String targetName) { super.targetChanged(targetName); SettingsEditorFragment<T, ?> fragment = ContainerUtil.find(getFragments(), f -> CommonJavaFragments.JRE_PATH.equals(f.getId())); if (fragment != null) { if (((JrePathEditor)fragment.component()).updateModel(getProject(), targetName)) { fragment.resetFrom(mySettings); } } }