JpaManagedClass managedClass,
AnnotatedElement element,
AnnotationProcessorStack context) {
if (managedClass instanceof JpaEntity) {
JpaAssociationOverride override = new JpaAssociationOverride(element
.getAnnotation(AssociationOverride.class));
((JpaEntity) managedClass).getAssociationOverrides().add(override);
}
else {
super.onManagedClass(managedClass, element, context);