Yeah - I played with this a few different times - nothing really felt natural, to be honest.  I really wish Java had templates done nicely.  Le sigh.  if you prefer it, I can adapt it.  It just ended up being as awkward, as I had to split on \n to make them emitted multi-line.  I'm 50/50 so I'll go with your preference here.