ExternalSystemBeforeRunTask beforeRunTask
) {
Project currentProject = configuration.getProject();
prepareIDE(currentProject);
Set<String> targetAddressesToCompile = PantsUtil.filterGenTargets(getTargetAddressesToCompile(configuration));
<BUG>return executeTask(currentProject, targetAddressesToCompile, false);

}
public boolean executeTask(Project project) {
</BUG>
return executeTask(project, getTargetAddressesToCompile(ModuleManager.getInstance(project).getModules()), false);

ExternalSystemBeforeRunTask beforeRunTask
) {
Project currentProject = configuration.getProject();
prepareIDE(currentProject);
Set<String> targetAddressesToCompile = PantsUtil.filterGenTargets(getTargetAddressesToCompile(configuration));
Pair<Boolean, Optional<String>> result = executeTask(currentProject, targetAddressesToCompile, false);
return result.getFirst();
}
public Pair<Boolean, Optional<String>> executeTask(Project project) {
