synchronized void restoreInclusionSettings(@Nullable DataNode<ProjectData> projectDataNode) {
    if (projectDataNode == null) {
      return;
    }

    String rootProjectPath = projectDataNode.getData().getLinkedExternalProjectPath();
    ProjectState projectState = myState.map.get(rootProjectPath);
    if (projectState == null) {
      return;
    }

    projectDataNode.visit(node -> {
      final DataNode<ExternalConfigPathAware> projectOrModuleNode = resolveProjectNode(node);
      assert projectOrModuleNode != null;
      final ModuleState moduleState = projectState.map.get(projectOrModuleNode.getData().getLinkedExternalProjectPath());
      node.setIgnored(isIgnored(projectState, moduleState, node.getKey()));
    });
  }
synchronized void restoreInclusionSettings(@Nullable DataNode<ProjectData> projectDataNode)