code: public static Method getMethodByName(Class<?> clazz, String name)
    {
      final List<Method> methods = JReflectionUtils.getAllMethods(new ArrayList<Method>(), clazz);
  
      for (Method method : methods)
      {
        if (method.getName().equals(name))
        {
          return method;
        }
      }
      return null;
    }
docs: Retrieve a Method object with the provided <i>name</i> on the class, <i>clazz</i>.
  
  @param clazz
  @param name
  @return Method