return null;
}
builder.setControllerClass(c);
// FIXME = "we need an md5";
builder.setLocation(c.getCanonicalName(), -1);
Controller ann = c.getAnnotation(Controller.class);
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);
}
return builder;
}