String[] classNames = qdoxParser.getAllClassNames();
for (int i = 0; i < classNames.length; i++) {
String className = classNames[i];
AttributeEnhancer enhancer = new BcelAttributeEnhancer(); // TODO: use factory
if (enhancer.initialize(className, classPath)) {
if (qdoxParser.parse(className)) {
JavaClass javaClass = parseClassAttributes(qdoxParser, enhancer);
parseFieldAttributes(javaClass, enhancer);
parseMethodAttributes(javaClass, enhancer);
parseInnerClassAttributes(javaClass, enhancer);
enhancer.write(destDir);
}
}
}
}