code: public static Method method(Class<?> declaringClass, Class<?>... parameterTypes) {
          return Whitebox.getMethod(declaringClass, parameterTypes);
      }
docs: Get a method without having to specify the method name.
  <p>
  The method will first try to look for a declared method in the same
  class. If the method is not declared in this class it will look for the
  method in the super class. This will continue throughout the whole class
  hierarchy. If the method is not found an {@link IllegalArgumentException}
  is thrown. Since the method name is not specified an
  {@link IllegalArgumentException} is thrown if two or more methods matches
  the same parameter types in the same class.
  
  @param declaringClass
  The declaringClass of the class where the method is located.
  @param parameterTypes
  All parameter types of the method (may be {@code null}).
  @return A {@code java.lang.reflect.Method}.
  @throws MethodNotFoundException
  If a method cannot be found in the hierarchy.
  @throws TooManyMethodsFoundException
  If several methods were found.