DocCommentSettings (@NotNull PsiFile file) { Language language = file.getLanguage(); LanguageCodeStyleProvider settingsProvider = LanguageCodeStyleProvider.forLanguage(language); if (settingsProvider != null) { return settingsProvider.getDocCommentSettings(CodeStyle.getSettings(file)); } return DocCommentSettings.DEFAULTS; }