AnnotatedElement element,
AnnotationProcessorStack context) {
// can only attach to id
if (attribute instanceof JpaId) {
JpaGeneratedValue generated = new JpaGeneratedValue(element
.getAnnotation(GeneratedValue.class));
((JpaId) attribute).setGeneratedValue(generated);
}
else {
super.onAttribute(attribute, element, context);