code: public static Method findMethodRT(Class<?> clazz, String name, Class<?> returnType, Class<?>... params) {
          Method m = findMethod(clazz, name, params);
  
          if (m == null) {
              return null;
          } else if (returnType == null) {
              return m;
          }
  
          Class<?> rt = m.getReturnType();
  
          if (w2pEquals(rt, returnType) || returnType.isAssignableFrom(rt)) {
              return m;
          }
  
          return null;
      }
docs: See {@link #findMethod(Class, String, Class...)}. This variation allows to additionally narrow the method by
  specifying its return type.
  
  @param clazz
  the class which should be scanned for methods
  @param name
  the name of the method
  @param returnType
  the type of the returned object
  @param params
  the types of the method arguments
  
  @return A method that is able to accept of the specified objects, {@code null} if such a method could not be
  found.