private static boolean isLanguageWithWSSignificant(Language lang) {
    return lang == HTMLLanguage.INSTANCE ||
           lang == XHTMLLanguage.INSTANCE ||
           lang instanceof JspLanguage ||
           lang instanceof JspxLanguage;
  }
private static boolean isLanguageWithWSSignificant(Language lang)