示例#1
0
 private static String functionSig(Method method, Object[] args) {
   StringBuilder sb = new StringBuilder();
   for (int i = 0; i < args.length; i++) {
     if (i > 0) sb.append(",");
     sb.append(TypeUtil.toCodeStringLimited(args[i]));
   }
   return FunctionRegistry.functionName(method.getDeclaringClass().getName(), method.getName())
       + "("
       + sb.toString()
       + ")";
 }