code: public static MethodDesc forArguments(TypeDesc ret, TypeDesc[] params, String[] paramNames) {
          if (ret == null) {
              ret = TypeDesc.VOID;
          }
          if (params == null || params.length == 0) {
              params = EMPTY_PARAMS;
          }
          if (paramNames == null || paramNames.length == 0) {
              paramNames = EMPTY_PARAM_NAMES;
          }
          return intern(new MethodDesc(ret, params, paramNames));
      }
docs: Acquire a MethodDesc from a set of arguments.
  @param ret return type of method; null implies void
  @param params parameters to method; null implies none
  @param paramNames parameter names to method; null implies none