public static @NotNull String getPackageOrClassName(@NotNull String className){
    int dotIndex = className.lastIndexOf('.');
    return dotIndex < 0 ? "" : className.substring(0, dotIndex);
  }
public static @NotNull String getPackageOrClassName(@NotNull String className)