code: public static StringBuilder get(FacesContext facesContext, String stringBuilderKey)
      {
          Map<Object, Object> attributes = facesContext.getAttributes();
  
          StringBuilder sb = (StringBuilder) attributes.get(stringBuilderKey);
  
          if (sb == null)
          {
              sb = new StringBuilder();
              attributes.put(stringBuilderKey, sb);
          }
          else
          {
  
              // clear out the stringBuilder by setting the length to 0
              sb.setLength(0);
          }
  
          return sb;
      }
docs: TODO checkstyle complains; does this have to lead with __ ?