}
@Override
public void handleAnnotation(Annotation annotation) {
if (annotation instanceof ChoiceFieldProperties) {
ChoiceFieldProperties props = (ChoiceFieldProperties)annotation;
if (getChoices() == null) {
setChoices(new LinkedHashMap<String,String>());
}
for(Choice c : props.choices()) {
getChoices().put(c.key(), c.value());
}
}
super.handleAnnotation(annotation);
}