code: public void parseLookupOverrideSubElements(Element beanEle, MethodOverrides overrides) {
      NodeList nl = beanEle.getChildNodes();
      for (int i = 0; i < nl.getLength(); i++) {
        Node node = nl.item(i);
        if (node instanceof Element && nodeNameEquals(node, LOOKUP_METHOD_ELEMENT)) {
          Element ele = (Element) node;
          String methodName = ele.getAttribute(NAME_ATTRIBUTE);
          String beanRef = ele.getAttribute(BEAN_ELEMENT);
          LookupOverride override = new LookupOverride(methodName, beanRef);
          override.setSource(extractSource(ele));
          overrides.addOverride(override);
        }
      }
    }
docs: Parse lookup-override sub-elements of the given bean element.
  
  @param beanEle a {@link org.w3c.dom.Element} object.
  @param overrides a {@link org.springframework.beans.factory.support.MethodOverrides} object.