synchronized void setIgnored(@NotNull DataNode<?> dataNode, boolean isIgnored) {
    //noinspection unchecked
    final DataNode<ProjectData> projectDataNode =
      PROJECT.equals(dataNode.getKey()) ? (DataNode<ProjectData>)dataNode : ExternalSystemApiUtil.findParent(dataNode, PROJECT);
    if (projectDataNode == null) {
      return;
    }

    dataNode.visit(node -> node.setIgnored(isIgnored));

    saveInclusionSettings(projectDataNode);
  }
synchronized void setIgnored(@NotNull DataNode<?> dataNode, boolean isIgnored)