void () { setAllOptionsVisible(false); LanguageCodeStyleSettingsProvider settingsProvider = LanguageCodeStyleSettingsProvider.forLanguage(myLanguage); if (settingsProvider != null) { settingsProvider.customizeSettings(this, LanguageCodeStyleSettingsProvider.SettingsType.COMMENTER_SETTINGS); } myCommenterPanel.setVisible( myLineCommentAtFirstColumnCb.isVisible() || myLineCommentAddSpaceCb.isVisible() || myLineCommentAddSpaceOnReformatCb.isVisible() || myBlockCommentAtFirstJBCheckBox.isVisible() || myBlockCommentAddSpaceCb.isVisible() ); }