}
/** append Java code to <tt>sb</tt> which evaluates to this instance */
- public void toJava(StringBuffer sb) {
+ public void toJava(Appendable sb) throws IOException {
sb.append("new "+this.getClass().getName()+"(null, ");
String head = headToJava();
sb.append(head);