code: public String toDescriptor() {
          int i;
          StringBuilder result;
  
          if (isArray()) {
              result = new StringBuilder();
              for (i = 0; i < dimensions; i++) {
                  result.append('[');
              }
              result.append(componentType.descriptor);
              if (componentType.id == T_REFERENCE) {
                  result.append(name.replace('.', '/'));
                  result.append(';');
              }
              return result.toString();
          } else {
              if (componentType.id != T_REFERENCE) {
                  throw new RuntimeException("not a reference type: " + this);
              }
              return name.replace('.', '/');
          }
      }
docs: full qualified class name as defined in JVM spec $4.2