private static @NotNull String normalizeClassName(@NotNull String className,
                                                    @NotNull String elementSeparator,
                                                    @NotNull String shortElementPrefix) {
    if (shortElementPrefix.isEmpty() || !className.startsWith(shortElementPrefix)) {
      return className;
    }

    StringBuilder result = new StringBuilder();
    while (className.startsWith(shortElementPrefix)) {
      className = className.substring(shortElementPrefix.length());
      result.append(elementSeparator);
    }
    return result.append(className).toString();
  }
private static @NotNull String normalizeClassName(@NotNull String className,
                                                    @NotNull String elementSeparator,
                                                    @NotNull String shortElementPrefix)