private static void reorderParents(@NotNull Map<LocalizationOrder, ResourceBundle> bundleOrderMap) {
    ResourceBundle resourceBundle = null;
    for (LocalizationOrder localizationOrder : LocalizationOrder.getEntries()) {
      ResourceBundle parentBundle = bundleOrderMap.get(localizationOrder);
      if (parentBundle != null && parentBundle != resourceBundle) {
        if (resourceBundle != null) {
          try {
            DynamicBundleInternal.SET_PARENT.bindTo(resourceBundle).invoke(parentBundle);
          }
          catch (Throwable e) {
            LOG.warn(e);
          }
        }
        resourceBundle = parentBundle;
      }
    }
  }
private static void reorderParents(@NotNull Map<LocalizationOrder, ResourceBundle> bundleOrderMap)