private PropertyInformation createPropertyInformation(
ModelValidationEntry modelValidationEntry, Object validationTarget, ELHelper elHelper)
{
PropertyInformation propertyInformation;
PropertyDetails propertyDetails;
propertyInformation = new DefaultPropertyInformation();
if (modelValidationEntry.getComponent() != null)
{
propertyDetails = elHelper.getPropertyDetailsOfValueBinding(modelValidationEntry.getComponent());
}
else
{
propertyDetails = new PropertyDetails(null, validationTarget, null);
}
propertyInformation.setInformation(PropertyInformationKeys.PROPERTY_DETAILS, propertyDetails);
return propertyInformation;
}