System.out.println("Models: " + models.length);
System.out.println(spaces.substring(0, indent + fieldColumnWidth) + "Read\tAdd\t\tUpdate\tDelete");
for(Class model: models){
final Model m = (Model) Model.getModelMapConstructor(model).newInstance(new HashMap());
for(int i = 0; i < 32 + 4 + fieldColumnWidth; i++){
System.out.print("-");
}
System.out.println("-");
System.out.println(model.getSimpleName() + " : " + Model.getTableNameForModel(model));
for(NamedField f: m.allFields()){
final int l = f.name().length();
System.out.println(spaces.substring(0, indent) + f.name() + spaces.substring(0, (fieldColumnWidth - l)) +
displayValueFor(f.hasAccess(NamedField.Access.Read)) + "\t\t" +
displayValueFor(f.hasAccess(NamedField.Access.Add)) + "\t\t" +
displayValueFor(f.hasAccess(NamedField.Access.Update)) + "\t\t" +