if (ann == null) {
throw new InvalidDefinitionException(String.format(
"@Controller annotation is required on all Controllers. Not found on %s", descriptor),
builder.getLocation());
}
builder.setBean(ann.bean());
try {
builder.setActionMap(createActions(c, builder.getDescriptor(), ann.bean()));
} catch (QuickFixException qfe) {
builder.setParseError(qfe);
}