boolean multiple = false;
// First try the field
Annotation[] fieldAnnotations = field.getAnnotations();
// and check with the profiles annotations
final BindingAnnotations bindingAnnotations = new BindingAnnotations(fieldAnnotations, new BindingAnnotations(annotations).getProfiles());
if (bindingAnnotations.checkNoBinding()) {
continue;
}
if (field.isAnnotationPresent(OneToOne.class) || field.isAnnotationPresent(ManyToOne.class)) {
isEntity = true;