docs: static String generatedClassName(TypeElement type, String prefix) {
      String name = type.getSimpleName().toString();
      while (type.getEnclosingElement() instanceof TypeElement) {
        type = (TypeElement) type.getEnclosingElement();
        name = type.getSimpleName() + "_" + name;
      }
      String pkg = TypeSimplifier.packageNameOf(type);
      String dot = pkg.isEmpty() ? "" : ".";
      return pkg + dot + prefix + name;
    }