code: public T validate(String path, Object controlValue) {
          if (JsonPathMessageValidationContext.isJsonPathExpression(path)) {
              getJsonPathValidationContext().getJsonPathExpressions().put(path, controlValue);
          } else {
              getXPathValidationContext().getXpathExpressions().put(path, controlValue);
          }
  
          return self;
      }
docs: Adds message element validation.
  @param path
  @param controlValue
  @return