docs: protected void appendCriteria(TableAlias alias, PathInfo pathInfo, SelectionCriteria c, StringBuffer buf)
      {
          if (c instanceof FieldCriteria)
          {
              appendFieldCriteria(alias, pathInfo, (FieldCriteria) c, buf);
          }
          else if (c instanceof NullCriteria)
          {
              appendNullCriteria(alias, pathInfo, (NullCriteria) c, buf);
          }
          else if (c instanceof BetweenCriteria)
          {
              appendBetweenCriteria(alias, pathInfo, (BetweenCriteria) c, buf);
          }
          else if (c instanceof InCriteria)
          {
              appendInCriteria(alias, pathInfo, (InCriteria) c, buf);
          }
          else if (c instanceof SqlCriteria)
          {
              appendSQLCriteria((SqlCriteria) c, buf);
          }
          else if (c instanceof ExistsCriteria)
          {
              appendExistsCriteria((ExistsCriteria) c, buf);
          }
          else if (c instanceof LikeCriteria)
          {
              appendLikeCriteria(alias, pathInfo, (LikeCriteria) c, buf);
          }
          else
          {
              appendSelectionCriteria(alias, pathInfo, c, buf);
          }
      }