code: public List<Node> removeChildren(final Pattern pattern, final Pattern... patterns) {
          // Precondition check
          final Pattern[] merged = this.validateAndMergePatternInput(pattern, patterns);
  
          final List<Node> found = get(merged);
          if (found == null) {
              return Collections.emptyList();
          }
          for (Node child : found) {
              children.remove(child);
          }
          return found;
      }
docs: Remove all child nodes found at the given {@link Pattern}s.
  
  @return the {@link List} of removed children.
  @throws IllegalArgumentException
  If pattern is not specified