private static @NotNull ResourceBundle resolveResourceBundle(
    @NotNull ClassLoader loader,
    @NonNls @NotNull String pathToBundle,
    @NotNull Locale locale
  ) {
    return Companion.resolveResourceBundleWithFallback(loader, pathToBundle, () -> {
      return resolveResourceBundle(
        DynamicBundle.class.getClassLoader(),
        loader,
        pathToBundle,
        locale,
        bundleResolver(pathToBundle)
      );
    });
  }
private static @NotNull ResourceBundle resolveResourceBundle(
    @NotNull ClassLoader loader,
    @NonNls @NotNull String pathToBundle,
    @NotNull Locale locale
  )