in src/main/java/com/intellij/compiler/impl/InternalCompileDriver.java [139:146]
public void compile(CompileScope scope, CompileStatusNotification callback) {
if (validateCompilerConfiguration(scope)) {
startup(scope, false, true, callback, null);
}
else {
callback.finished(true, 0, 0, DummyCompileContext.create(myProject));
}
}