class Foo { void test() { StringBuilder sb = new StringBuilder(); sb.append("foo").append("bar").append("baz"); } }