117118119120121122123124125126127
} return null; } private static Handler createHandler(Generator generator, ClassDoc classDoc) { Handler handler; if (classDoc.isInterface()) { handler = new InterfaceHandler(generator); } else if (classDoc.isEnum()) { handler = new EnumHandler(generator);
636465666768697071727374
for (ClassDoc classDoc : docs) { logger.info("Processing {}", classDoc.qualifiedName()); if (TagParser.hasClassTags(generator, classDoc)) { Handler handler = createHandler(generator, classDoc); handler.process(classDoc); } } generator.generate();
646566676869707172737475
119120121122123124125126127128129
return null; } private static Handler createHandler(Generator generator, ClassDoc classDoc) { Handler handler; if (classDoc.isInterface()) { handler = new InterfaceHandler(generator); } else if (classDoc.isEnum()) { handler = new EnumHandler(generator);
676869707172737475767778
122123124125126127128129130131132