e.printStackTrace();
}
}
public static boolean start(RootDoc root) throws Exception {
Generator generator = readOptions(root.options());
ClassDoc[] docs = root.specifiedClasses();
if (docs.length == 0) docs = root.classes();
for (ClassDoc classDoc : docs) {
logger.info("Processing {}", classDoc.qualifiedName());
if (TagParser.hasClassTags(generator, classDoc)) {
Handler handler = createHandler(generator, classDoc);
handler.process(classDoc);
}
}
generator.generate();
return true;
}