@Override public int writeFieldValue(MethodVisitor methodVisitor, FieldDescription fieldType) { methodVisitor.visitLdcInsn(fieldType.getDefaultValue()); return 2; }
@Override protected String updateValue(FieldDescription fieldType) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat(DATE_FORMAT_FOR_DATE_CONSTRUCTOR); Date date = (Date) fieldType.getDefaultValue(); return simpleDateFormat.format(date); }