code: private String computeEventDescriptor(Method method)
      {
          StringBuilder sb = new StringBuilder();
  
          // Add event class and method name
          sb.append(method.getDeclaringClass().getName());
          sb.append(".");
          sb.append(method.getName());
  
          // Add event arguments
          Class [] parms = method.getParameterTypes();
          sb.append("(");
          for (int i = 0; i < parms.length; i++)
              appendTypeDescriptor(sb, parms[i]);
          sb.append(")");
  
          // Add event return type
          appendTypeDescriptor(sb, method.getReturnType());
  
          return sb.toString();
      }
docs: Helper method that computes the event descriptor sting for a method