code: public static <T> Method getMethod(Class<T> c, String name, Class<?>... argTypes) {
          try {
              return c.getMethod(name, argTypes);
          } catch(NoSuchMethodException e) {
              throw new IllegalArgumentException(e);
          }
      }
docs: Get the named method from the class
  
  @param c The class to get the method from
  @param name The method name
  @param argTypes The argument types
  @return The method