// add a default constructor that delegates to the millis constructor
BCMethod m;
Code code;
if (!hasDefaultCons) {
m = bc.declareMethod("<init>", void.class, null);
m.makePublic();
code = m.getCode(true);
code.aload().setThis();
code.invokestatic().setMethod(System.class, "currentTimeMillis",
long.class, null);
code.invokespecial().setMethod(type, "<init>", void.class,