StringRenderingConstants.DisplayType renderBehaviour = StringRenderingConstants.DisplayType.SINGLE_LINE;
//set select/freeselect
final SelectValues selectAnnotation = field.getAnnotation(SelectValues.class);
if (null != selectAnnotation) {
pbuild.type(selectAnnotation.freeSelect() ? Property.Type.FreeSelect : Property.Type.Select);
pbuild.values(selectAnnotation.values());
}
if (field.getAnnotation(TextArea.class) != null) {
renderBehaviour = StringRenderingConstants.DisplayType.MULTI_LINE;
}