// find valid jpa annotations for this method
List<Class<?>> jpaAnnotations = getValidJPAAnnotationsFromMethod(entityClass, method, 0, entityClass);
// add them all to metadata
for (Class<?> jpaAnnotation : jpaAnnotations)
{
CallbackMethod callbackMethod = new InternalCallbackMethod(metadata, method);
addCallBackMethod(metadata, jpaAnnotation, callbackMethod);
}
}
}