code: protected HashSet<String> getDirectDepsSet(org.eclipse.aether.graph.DependencyNode rootNode)
    {
      HashSet<String> directDepsSet = new HashSet<String> ();
      List <org.eclipse.aether.graph.DependencyNode> directDepsList = rootNode.getChildren();
      ListIterator <org.eclipse.aether.graph.DependencyNode> iter = directDepsList.listIterator();
  
      // Accumulate set that represents the collection of direct deps
      while(iter.hasNext()){
        org.eclipse.aether.artifact.Artifact art = iter.next().getArtifact();
        directDepsSet.add(createArtifactString(art));
      }
  
      return directDepsSet;
    }
docs: Gets the set strings of the form "&lt;groupId&gt;:&lt;artifactId&gt;" representing the specified nodes direct dependencies (immediate children).
  
  @param rootNode {@link org.eclipse.aether.graph.DependencyNode root node} of the tree to fetch the direct dependencies from.
  @return {@link HashSet<String>} of the form "&lt;groupId&gt;:&lt;artifactId&gt;" containing all direct dependencies of the parameter specified by rootNode.
  @since 3.5.3