code: protected Result buildResult(String resultCode, ResultTypeConfig resultTypeConfig, ActionContext context,
        Map<String, String> params) {
      ResultConfig resultConfig = new ResultConfig.Builder(resultCode, resultTypeConfig.getClassName())
          .addParams(params).build();
      try {
        return objectFactory.buildResult(resultConfig, context.getContextMap());
      } catch (Exception e) {
        throw new XWorkException("Unable to build convention result", e, resultConfig);
      }
    }
docs: 构建结果
  
  @param resultCode
  @param resultTypeConfig
  @param context
  @param params