void () { final StringBuffer <warning descr="'StringBuffer buffer' may be declared as 'StringBuilder'"><caret>buffer</warning> = new StringBuffer(); buffer.append("bar"); buffer.append("bar"); System.out.println(buffer.toString()); }