It would be nice if you could refactor code like this:
sb.append( " :" );
sb.append( "in <a href=\"" );
Ideally even when such code is mixed in with other code that does not
need to be collapsed, ideally even when sb.append is an analog of
StringBuilder.append, not just StringBuilder itself.
Roedy Green Canadian Mind Products
An example (complete and annotated) is worth 1000 lines of BNF.