@NotNull
  private static ArrayList<MavenArchetype> getArchetypes(ArchetypeCatalog archetypeCatalog) {
    ArrayList<MavenArchetype> result = new ArrayList<>(archetypeCatalog.getArchetypes().size());
    for (Archetype each : archetypeCatalog.getArchetypes()) {
      result.add(Maven3ModelConverter.convertArchetype(each));
    }
    return result;
  }
@NotNull
  private static ArrayList<MavenArchetype> getArchetypes(ArchetypeCatalog archetypeCatalog)