code: public static Method findDeclaredMethod(Class<?> cl, Method testMethod)
    {
      if (cl == null)
        return null;
      
      for (Method method : cl.getDeclaredMethods()) {
        if (isMatch(method, testMethod))
          return method;
      }
      
      return null;
    }
docs: Finds any method matching the method name and parameter types.