private void appendText(CommentTokenizer tokenizer,StringBuilder builder){
  while (tokenizer.hasNext() && tokenizer.peekNext().kind == TokenKind.TEXT) {
    String text=tokenizer.pollNext().text;
    if (builder.length() > 0 && builder.charAt(builder.length() - 1) != '\n' && !text.equals(NEW_LINE)) {
      builder.append(' ');
    }
    builder.append(text);
  }
}

private void appendText ( CommentTokenizer tokenizer , StringBuilder builder ) { while ( tokenizer . hasNext ( ) && tokenizer . peekNext ( ) . kind == TokenKind . TEXT ) { String text = tokenizer . pollNext ( ) . text ; if ( builder . length ( ) > 0 && builder . charAt ( builder . length ( ) - 1 ) != '\n' && ! text . equals ( NEW_LINE ) ) { builder . append ( ' ' ) ; } builder . append ( text ) ; } }
consumes consecutive text tokens and append them to builder .
