code: public final static StringBuilder buildLine(StringBuilder sb, Object[] elements) {
  		sb.append(' ');
  		String str;
  		boolean notFirst = false;
  		for(Object o : elements) {
  			if(o!=null) {
  				str = o.toString();
  				
  				if(str.length()>0) {
  					if(notFirst && shouldAddSpace(str,true) && shouldAddSpace(sb,false)) {
  						sb.append(' ');
  					} else {
  						notFirst=true;
  					}
  					sb.append(str);
  				}
  			}
  		}
  		return sb;
  	}
docs: /*
  Build a line of code onto a StringBuilder based on Objects.  Analyze whether
  spaces need including.
  
  @param sb
  @param elements
  @return