* classes. Templates are then applied to the classes.
*
*/
@SuppressWarnings("rawtypes")
public void generate(Language language) {
CodeFactory cf = CodeFactory.getFactory(language);
for (Class annotation : annotationList) {
_log.info("============================");
_log.info("Processing " + annotation.getName() + "...");
// retrieve the processor for this annotation
Processor p = cf.getProcessor(annotation);
// get all classes that are marked with this annotation
Set<String> serviceClasses = db.getAnnotationIndex().get(
annotation.getName());
if (serviceClasses == null || serviceClasses.size() == 0) {
_log.info(" No classes found.");