code: private static String[] convertParameters(Class<?>[] params)
     {
        List<String> tmp = new ArrayList<String>();
        for (Class<?> c : params)
        {
           if (c.isArray())
           {
              StringBuffer sb = new StringBuffer();
              Class<?> subType = c.getComponentType();
              sb.append(subType.getName());
              // Convert to type[][]...[]
              while (subType != null)
              {
                 sb.append("[]");
                 subType = subType.getComponentType();
              }
              tmp.add(sb.toString());
           }
           else
           {
              tmp.add(c.getName());
           }
        }
        String[] sig = new String[tmp.size()];
        tmp.toArray(sig);
        return sig;
     }
docs: <p>
  Converts the specified method parameter classes to {@code String}.
  </p>
  
  @param params
  - the array of classes to be converted.
  @return a {@code String[]} containing the classes names as {@code String}.