ResourceBundle (final String key) { ResourceBundle providerBundle = ProviderBundles.INSTANCE.get(key); if (providerBundle != null) { return providerBundle; } ResourceBundle bundle = com.intellij.reference.SoftReference.dereference(ourBundle); if (bundle == null) { bundle = ResourceBundle.getBundle(BUNDLE); ourBundle = new SoftReference<>(bundle); } return bundle; }