protected String getParameters(Object[] args) {
    if (args == null)
      return "";
    StringBuilder sbd = new StringBuilder();
    if (args.length > 0) {
      for (Object i : args) {
        if (i == null) {
          sbd.append("null");
        } else {
          Class clz = i.getClass();
          if (isPrimitive(clz)) {
            sbd.append(evalPrimitive(i));
          } else if (clz.isArray()) {
            evalArray(i, sbd);
          } else if (Collection.class.isAssignableFrom(clz)) {
            Object[] arr = ((Collection<?>) i).toArray();
            evalArray(arr, sbd);
          } else if (i instanceof Date) {
            sbd.append('"').append(formatYmdHis(((Date) i))).append('"');
          } else if (i instanceof IdEntity) {
            sbd.append(i.getClass().getSimpleName()).append("[id=").append(((IdEntity) i).getId()).append(']');
          }else {
            sbd.append(clz.getSimpleName()).append(":OBJ");
          }
        }
        sbd.append(',');
      }
      sbd.setLength(sbd.length() - 1);
    }
    return sbd.toString();
  }
protected String getParameters ( Object [ ] args ) { if ( args == null ) return "" ; StringBuilder sbd = new StringBuilder ( ) ; if ( args . length > 0 ) { for ( Object i : args ) { if ( i == null ) { sbd . append ( "null" ) ; } else { Class clz = i . getClass ( ) ; if ( isPrimitive ( clz ) ) { sbd . append ( evalPrimitive ( i ) ) ; } else if ( clz . isArray ( ) ) { evalArray ( i , sbd ) ; } else if ( Collection . class . isAssignableFrom ( clz ) ) { Object [ ] arr = ( ( Collection < ? > ) i ) . toArray ( ) ; evalArray ( arr , sbd ) ; } else if ( i instanceof Date ) { sbd . append ( '"' ) . append ( formatYmdHis ( ( ( Date ) i ) ) ) . append ( '"' ) ; } else if ( i instanceof IdEntity ) { sbd . append ( i . getClass ( ) . getSimpleName ( ) ) . append ( "[id=" ) . append ( ( ( IdEntity ) i ) . getId ( ) ) . append ( ']' ) ; } else { sbd . append ( clz . getSimpleName ( ) ) . append ( ":OBJ" ) ; } } sbd . append ( ',' ) ; } sbd . setLength ( sbd . length ( ) - 1 ) ; } return sbd . toString ( ) ; }
函数参数信息

@param args 参数列表
@return 格式化输出