public @Nullable CommandNode<C> getChild(final @NonNull CommandComponent<C> component) {
        for (final CommandNode<C> child : this.children) {
            if (component.equals(child.component())) {
                return child;
            }
        }
        return null;
    }
Returns the node containing the given {@code component}

@param component the child component
@return the node containing the given {@code component}, or {@code null}
cloud-core/src/main/java/org/incendo/cloud/internal/CommandNode.java