code: private void appendTypeDescriptor(StringBuilder sb, Class clazz)
      {
          if (clazz.isPrimitive())
              sb.append(_primToType.get(clazz));
          else if (clazz.isArray())
              sb.append(clazz.getName().replace('.','/'));
          else
          {
              sb.append("L");
              sb.append(clazz.getName().replace('.','/'));
              sb.append(";");
          }
      }
docs: Helper method that appends a type descriptor to a StringBuilder.  Used
  while accumulating an event descriptor string.