private static void configureExcludeOutDir(DataNode<ModuleData> moduleDataNode, boolean delegatedBuild) {
    ModuleData module = moduleDataNode.getData();
    File ideaOutDir = new File(module.getLinkedExternalProjectPath(), "out");
    module.useExternalCompilerOutput(delegatedBuild);
    if (!delegatedBuild) {
      excludeOutDir(moduleDataNode, ideaOutDir);
    } else {
      unexcludeOutDir(moduleDataNode, ideaOutDir);
    }
  }
private static void configureExcludeOutDir(DataNode<ModuleData> moduleDataNode, boolean delegatedBuild)