// toString
final JMethod unmarshal = booleanConverter.method(JMod.PUBLIC, Boolean.class, "unmarshal");
final JVar stringConstructorArg = unmarshal.param(JMod.FINAL, Integer.class, "i");
unmarshal.annotate(Override.class);
unmarshal._throws(Exception.class);
unmarshal.body()._return(JOp.cond(stringConstructorArg.eq(JExpr._null()), JExpr._null(), stringConstructorArg.eq(JExpr.lit(1))));
// toString
final JMethod marshal = booleanConverter.method(JMod.PUBLIC, Integer.class, "marshal");
final JVar unmarshallparam = marshal.param(JMod.FINAL, Boolean.class, "b");
marshal.annotate(Override.class);