// create public Point addToCoordinates(final String coordinates) {...}
final JMethod generateAdd = cc.implClass.method(JMod.PUBLIC, cc.implClass, "addToCoordinates");
generateAdd.javadoc().append("add a value to the coordinates property collection");
final JInvocation returntype = JExpr._new(classCoordinates);
final JVar arg = generateAdd.param(JMod.FINAL, String.class, field.name());
generateAdd.javadoc().addParam(arg).append("required parameter");
returntype.arg(arg);
generateAdd.javadoc().addReturn().append("<tt>true</tt> (as general contract of <tt>Collection.add</tt>). ");
generateAdd.body().add(JExpr._this().invoke("getCoordinates").invoke("add").arg(returntype));
generateAdd.body()._return(JExpr._this());