in src/main/java/com/intellij/compiler/impl/InternalCompileDriver.java [149:157]
private CompileContext doRebuild(CompileStatusNotification callback, final CompileScope compileScope) {
if (validateCompilerConfiguration(compileScope)) {
return startup(compileScope, true, false, callback, null);
}
else {
callback.finished(true, 0, 0, DummyCompileContext.create(myProject));
return null;
}
}