Пример #1
0
 static {
   Parameter.Widget[] widgets = Parameter.Widget.values();
   humanizedWidgets = new HumanizedWidget[widgets.length];
   for (int i = 0; i < widgets.length; i++) {
     humanizedWidgets[i] = new HumanizedWidget(widgets[i]);
   }
 }
Пример #2
0
 @Override
 public String toString() {
   return StringUtils.humanizeConstant(widget.toString());
 }