@Contract(pure = true)
  public static @NlsSafe @NotNull String getPackageName(@NotNull String fqName, char separator) {
    int lastPointIdx = fqName.lastIndexOf(separator);
    if (lastPointIdx >= 0) {
      return fqName.substring(0, lastPointIdx);
    }
    return "";
  }
@Contract(pure = true)
  public static @NlsSafe @NotNull String getPackageName(@NotNull String fqName, char separator)