ResourceBundle ( @NotNull ClassLoader bundleClassLoader, @NotNull ClassLoader baseLoader, @NotNull Function<? super @NotNull ClassLoader, ? extends @NotNull ResourceBundle> bundleResolver ) { ResourceBundle base = bundleResolver.apply(baseLoader); ClassLoader pluginClassLoader = languagePluginClassLoader(bundleClassLoader); if (pluginClassLoader == null) { return base; } ResourceBundle pluginBundle = bundleResolver.apply(pluginClassLoader); if (!setBundleParent(pluginBundle, base)) { return base; } return pluginBundle; }