public static @NotNull List<Element> getChildren(@Nullable Element parent, @NotNull String name) {
    if (parent != null) {
      return parent.getChildren(name);
    }
    return Collections.emptyList();
  }
public static @NotNull List<Element> getChildren(@Nullable Element parent, @NotNull String name)