code: public static ComponentVertex componentVertex(
              ComponentType component, Channel componentChannel) {
          if (component instanceof ComponentVertex) {
              return (ComponentVertex) component;
          }
          return ComponentProxy.getComponentProxy(component, componentChannel);
      }
docs: Return the component node for a given component.
  
  @param component the component
  @param componentChannel the component's channel
  @return the node representing the component in the tree