}
@Override
@SuppressWarnings("unchecked")
public Collection<? extends DomainConfigurationProblem> validateFieldMetadata(PersistentFieldMetadata fieldMetadata, Class<?> domainType, DomainConfigurationValidationContext validationContext) {
MappingContext mappingContext = validationContext.getMappingContext();
final LightAdminConfiguration lightAdminConfiguration = validationContext.getLightAdminConfiguration();
final PersistentEntity persistentEntity = mappingContext.getPersistentEntity(domainType);
PersistentProperty persistentProperty = persistentEntity.getPersistentProperty(fieldMetadata.getField());
if (persistentProperty == null) {
return newArrayList(validationContext.notPersistableFieldProblem(fieldMetadata.getName()));