void (GradleProjectSettings settings) { if (myResolveModulePerSourceSetCheckBox != null) { myResolveModulePerSourceSetCheckBox.setSelected(settings.isResolveModulePerSourceSet()); boolean showSetting = !settings.isResolveModulePerSourceSet() || Registry.is("gradle.settings.showDeprecatedSettings", false); myModulePerSourceSetPanel.putClientProperty(HIDDEN_KEY, showSetting); } if (myResolveExternalAnnotationsCheckBox != null) { myResolveExternalAnnotationsCheckBox.setSelected(settings.isResolveExternalAnnotations()); } }