code: public static void validateParams(Object... params) throws JinxException {
          for (Object o : params) {
              if (o == null) {
                  throw new JinxException("Parameters cannot be null.");
              } else if (o instanceof List) {
                  for (Object listObject : (List) o) {
                      if (listObject == null) {
                          throw new JinxException("Objects in list cannot be null.");
                      }
                  }
              } else if (o instanceof String) {
                  if (((String) o).trim().length() == 0) {
                      throw new JinxException("String cannot be empty.");
                  }
              }
          }
      }
docs: Validate parameters.
  <br>
  Objects:
  <ul>
  <li>Must not be null</li>
  <li>List objects must not contain null</li>
  <li>Strings cannot be empty</li>
  </ul>
  
  @param params variable list of objects to check.
  @throws JinxException if any parameter fails validation.