core: import edu.neu.ccs.demeter.dj.*; import edu.neu.ccs.demeter.*; add: class Quality { protected float v; public float get_v() {{ return v; }} public void set_v(float new_v) {{ v = new_v; }} public constructor Quality() {{ super(); }} public constructor Quality(float v) {{ super(); set_v(v); }} public static Quality parse(java.io.Reader in) throws ParseException {{ return new Parser(in)._Quality(); }} public static Quality parse(java.io.InputStream in) throws ParseException {{ return new Parser(in)._Quality(); }} public static Quality parse(String s) {{ try { return parse(new java.io.StringReader(s)); } catch (ParseException e) { throw new RuntimeException(e.toString()); } }} void print() {{ PrintVisitor v0 = new PrintVisitor(); v0.start(); __trav_print(v0); v0.finish(); }} {{ void universal_trv0_bef(UniversalVisitor _v_) { ((UniversalVisitor) _v_).before(this); } }} {{ void universal_trv0_aft(UniversalVisitor _v_) { ((UniversalVisitor) _v_).after(this); } }} {{ void universal_trv0(UniversalVisitor _v_) { universal_trv0_bef(_v_); ((UniversalVisitor) _v_).before_v(this, v); ((UniversalVisitor) _v_).after_v(this, v); universal_trv0_aft(_v_); } }} {{ public void __trav_print(PrintVisitor __v0) { __trav_print_Quality_trv(__v0); } }} {{ void __trav_print_Quality_trv_bef(PrintVisitor __v0) { ((UniversalVisitor) __v0).before(this); } }} {{ void __trav_print_Quality_trv_aft(PrintVisitor __v0) { ((UniversalVisitor) __v0).after(this); } }} {{ void __trav_print_Quality_trv(PrintVisitor __v0) { __trav_print_Quality_trv_bef(__v0); ((PrintVisitor) __v0).before_v(this, v); ((PrintVisitor) __v0).after_v(this, v); __trav_print_Quality_trv_aft(__v0); } }} }