private static void buildNodesMap(@NotNull Long2ObjectMap<DependencyNode> dependencyNodeMap,
                                      @NotNull DependencyNode node) {
      for (DependencyNode child : node.getDependencies()) {
        if (child instanceof ReferenceNode) continue;
        dependencyNodeMap.put(child.getId(), child);
        buildNodesMap(dependencyNodeMap, child);
      }
    }
private static void buildNodesMap(@NotNull Long2ObjectMap<DependencyNode> dependencyNodeMap,
                                      @NotNull DependencyNode node)