code: public ComponentDef dispatch(Class<?> componentClass) {
          if (!canDispatch(componentClass)) { // already checked but just in case
              return null;
          }
          return doDispatch(componentClass, findEnvDispatch(componentClass));
      }
docs: ========