}
public static AbstractAssociation createAssociation(
ModelAssociation associationAnnotation, ModelBean model,
Class<?> typeOfFieldOrReturnValue, Class<?> declaringClass, String name) {
ModelAssociationType type = associationAnnotation.value();
Class<?> associationClass = associationAnnotation.model();
if (associationClass == Object.class) {
associationClass = typeOfFieldOrReturnValue;
}