code: public String getArrayClassName(Class<?> clazz) {
  
          if (clazz.isArray()) {
              return getArrayClassName(clazz.getComponentType()) + "[]";
          }
  
          return clazz.getName();
      }
docs: Formats the class name with trailing square brackets.