class Test { String foo() { StringBuilder sb = new StringBuilder().append("a").append("|").append("b"); return sb.toString(); } }