final Class<?> cls = processClassContext.getCls();
final DatastoreIdentity annotation = Annotations.getAnnotation(cls, DatastoreIdentity.class);
if (annotation == null) {
return;
}
IdGeneratorStrategy strategyAttribute = annotation.strategy();
FacetUtil.addFacet(new JdoDatastoreIdentityFacetAnnotation(
strategyAttribute, processClassContext.getFacetHolder()));
return;
}