attrDef.setReadWriteAccessor( accessor );
}
}
protected void wireTimestampAccessor( AbstractClassTypeDeclarationDescr typeDescr, TypeDeclaration type, PackageRegistry pkgRegistry ) {
Timestamp timestamp = typeDescr.getTypedAnnotation(Timestamp.class);
if ( timestamp != null ) {
String timestampField = null;
try {
timestampField = timestamp.value();
} catch (Exception e) {
kbuilder.addBuilderResult(new TypeDeclarationError(typeDescr, e.getMessage()));
return;
}
type.setTimestampAttribute( timestampField );