String (@NlsSafe String configurationErrorMsg, boolean openSettings) { if (openSettings) { return new HtmlBuilder() .append(HtmlChunk.br()) .append("\n") .append(configurationErrorMsg) .append(HtmlChunk.link("Gradle settings", GradleBundle.message("gradle.open.gradle.settings"))) .toString(); } return new HtmlBuilder() .append(HtmlChunk.br()) .append("\n") .append(configurationErrorMsg) .toString(); }