@Nullable
    private List<Node> load(@Nullable List<?> children) {
      if (children == null) throw new ProcessCanceledException(); // cancel this command
      return load(children.size(), index -> children.get(index));
    }
@Nullable
    private List<Node> load(@Nullable List<?> children)