public @NotNull String getLocalizedName() {
    if (nameBundle != null && nameKey != null) {
      ResourceBundle resourceBundle = DynamicBundle.getResourceBundle(getPluginDescriptor().getClassLoader(), nameBundle);
      return BundleBase.messageOrDefault(resourceBundle, nameKey, null);
    }
    else if (name == null) {
      LOG.error("Either a pair ('nameBundle', 'nameKey') or 'name' attribute must be specified.");
    }
    return name;
  }
public @NotNull String getLocalizedName()