public static Method getMethod(Class<?> clazz, String methodName, Class<?>... parameterTypes)
  {
    try {
      Method method = clazz.getDeclaredMethod(methodName, parameterTypes);
      method.setAccessible(true);
      return method;
    }
    catch(NoSuchMethodException e) {
      throw new NoSuchBeingException(e);
    }
    catch(SecurityException e) {
      throw new BugError(e);
    }
  }
public static Method getMethod ( Class < ? > clazz , String methodName , Class < ? > ... parameterTypes ) { try { Method method = clazz . getDeclaredMethod ( methodName , parameterTypes ) ; method . setAccessible ( true ) ; return method ; } catch ( NoSuchMethodException e ) { throw new NoSuchBeingException ( e ) ; } catch ( SecurityException e ) { throw new BugError ( e ) ; } }
Get class method with runtime exception. JRE throws checked {@link NoSuchMethodException} if method is missing,
behavior that is not desirable for this library. This method uses runtime, unchecked {@link NoSuchBeingException}
instead. Returned method has accessibility set to true.

@param clazz Java class to return method from,
@param methodName method name,
@param parameterTypes method formal parameters.
@return class reflective method.
@throws NoSuchBeingException if does not found the method.