code: public static String formatTypeName(ClassNode cNode) {
          if (cNode.isArray()) {
              ClassNode it = cNode;
              int dim = 0;
              while (it.isArray()) {
                  dim++;
                  it = it.getComponentType();
              }
              StringBuilder sb = new StringBuilder(it.getName().length() + 2 * dim);
              sb.append(it.getName());
              for (int i = 0; i < dim; i++) {
                  sb.append("[]");
              }
              return sb.toString();
          }
          return cNode.getName();
      }
docs: Formats a type name into a human readable version. For arrays, appends "[]" to the formatted
  type name of the component. For unit class nodes, uses the class node name.
  
  @param cNode the type to format
  @return a human readable version of the type name (java.lang.String[] for example)