private void addGenerated(final JDefinedClass type) {
    assert type != null;

    JAnnotationUse anno = type.annotate(Generated.class);
    anno.param("value", String.format("XJC %s", Driver.getBuildID()));

    Date now = new Date();
    SimpleDateFormat sdf = new SimpleDateFormat(ISO_8601_FORMAT);
    anno.param("date", sdf.format(now));

    // TODO: Maybe support customized comments?
  }