if (isAnyToOneRelation(field)) { JavaType parentEntity = field.getFieldType().withoutParameters(); JavaType entityDeserializer = getEntityDeserializerFor(parentEntity); Validate.notNull(entityDeserializer,
getAccessorMethod(this.messageSourceField).getMethodName(), this.entityLabel, fieldName.toLowerCase(), getFieldDefaultLabelValue(fieldName), fieldName, getNameOfJavaType(fieldType.withoutParameters())); getAccessorMethod(this.messageSourceField).getMethodName(), this.entityLabel, fieldName.toLowerCase(), getFieldDefaultLabelValue(fieldName), fieldName, getNameOfJavaType(fieldType.withoutParameters()));
target.withoutParameters(), AnnotatedJavaType.convertFromJavaTypes(parameterType), parameterNames, bodyBuilder);
getAccessorMethod(this.messageSourceField).getMethodName(), this.entityLabel, fieldName.toLowerCase(), getFieldDefaultLabelValue(fieldName), fieldName, getNameOfJavaType(fieldType.withoutParameters())); getAccessorMethod(this.messageSourceField).getMethodName(), this.entityLabel, fieldName.toLowerCase(), getFieldDefaultLabelValue(fieldName), fieldName, getNameOfJavaType(fieldType.withoutParameters()));
target.withoutParameters(), AnnotatedJavaType.convertFromJavaTypes(parameterType), parameterNames, bodyBuilder);