code: public static Method findMethod(Collection<Method> methods, Method testMethod)
    {
      for (Method method : methods) {
        if (isMatch(method, testMethod))
          return method;
      }
      
      return null;
    }
docs: Finds any method matching the method name and parameter types.