try {
for (File sourceFile : getConfig().getSourceFiles()) {
processSource(sourceFile);
}
CompilationUnitSinkFactory codeSinkFactory = createSinkFactory(getConfig(), false);
CompilationUnitSinkFactory apiSinkFactory = null;
if (getConfig().isGenerateApi()) {
apiSinkFactory = createSinkFactory(getConfig(), true);
}
for (CompilationUnit unit : compileQueue) {
unit.analyze(null);