docs: static String classNameOf(TypeElement type) {
      String name = type.getQualifiedName().toString();
      String pkgName = packageNameOf(type);
      return pkgName.isEmpty() ? name : name.substring(pkgName.length() + 1);
    }