docs: public static String toBuildableType(String className, ClassLoader loader) {
          int arrayDim = BuildUtils.externalArrayDimSize(className);
          String prefix = "";
  
          String coreType = arrayDim == 0 ? className : className.substring(0, className.indexOf("["));
          coreType = typeName2ClassName(coreType, loader);
  
          if (arrayDim > 0) {
              coreType = BuildUtils.getTypeDescriptor(coreType);
              for (int j = 0; j < arrayDim; j++) {
                  prefix = "[" + prefix;
              }
          } else {
              return coreType;
          }
  
          return prefix + coreType;
      }