@Nullable
  private static MavenRepositoryInfo extractRepositoryInfo(@NotNull List<MavenSimpleNode> selectedNodes) {
    List<RepositoryNode> repositoryNodes = filterNodesByClass(selectedNodes, RepositoryNode.class);
    if (repositoryNodes == null || repositoryNodes.isEmpty()) {
      return null;
    }
    RepositoryNode repositoryNode = repositoryNodes.get(0);
    return new MavenRepositoryInfo(repositoryNode.getId(), repositoryNode.getUrl(),
                                   repositoryNode.isLocal() ? RepositoryKind.LOCAL : RepositoryKind.REMOTE);
  }
@Nullable
  private static MavenRepositoryInfo extractRepositoryInfo(@NotNull List<MavenSimpleNode> selectedNodes)