code: public static JavaClassAndMethod findMethod(JavaClass[] classList, String methodName, String methodSig,
              JavaClassAndMethodChooser chooser) {
          JavaClassAndMethod m = null;
  
          for (JavaClass cls : classList) {
              if ((m = findMethod(cls, methodName, methodSig, chooser)) != null) {
                  break;
              }
          }
  
          return m;
      }
docs: Find a method in given list of classes, searching the classes in order.
  
  @param classList
  list of classes in which to search
  @param methodName
  the name of the method
  @param methodSig
  the signature of the method
  @param chooser
  JavaClassAndMethodChooser to select which methods are
  considered; it must return true for a method to be returned
  @return the JavaClassAndMethod, or null if no such method exists in the
  class