if (CharSequence.class.isAssignableFrom(getField().getType())) {
widget = new TextWidget(this);
MaxLength maxLength = annotation(MaxLength.class);
if (maxLength != null && maxLength.value() > 128)
widget = new TextAreaWidget(this);
Column column = annotation(Column.class);
if (column != null && column.length() > 128)
widget = new TextAreaWidget(this);
}
if (Number.class.isAssignableFrom(getField().getType()) || getField().getType().equals(double.class)
|| getField().getType().equals(int.class) || getField().getType().equals(long.class)) {
widget = new NumberWidget(this);