Iterable<? extends Annotation> annotations, SettingsEntityMetadata targetEntity)
{
super(name, propertyType, parent, accessor, annotations);
Preference preference = getAnnotation(Preference.class);
if (preference == null || StringUtils.isEmpty(preference.key()))
key = name;
else
key = preference.key();
this.targetEntity = targetEntity;