It would be useful to have more information on when the compiler changes String to StringBuffer/StringBuilder.