debug(newTab, (Item) field.getValue());
}
} else if (null == dataType || ViewSandboxAPITest.SIMPLE_TYPES.contains(dataType)) {
System.out.println(newTab + field.getName() + " : " + field.getValue());
} else if (Field.ITEM_LIST_TYPE.equals(dataType)) {
ItemList itemList = (ItemList) field.getValue();
System.out.print(newTab + field.getName() + " : List (" + itemList.size() + ") {");
if (itemList.isEmpty()) {
System.out.println("}");
} else {
System.out.println();
for (Iterator iterator = itemList.iterator(); iterator.hasNext(); ) {
final Item next = (Item) iterator.next();
debug(newTab + "\t", next);
}
System.out.println(newTab + "}");
}