public String @Nullable [] getCategories() {
    if (categoryKey == null) {
      return category == null ? null : category.split("/");
    }

    String baseName = bundleName != null ? bundleName : getPluginDescriptor().getResourceBundleBaseName();
    if (baseName == null) {
      Logger.getInstance(IntentionActionBean.class).error("No resource bundle specified for " + getPluginDescriptor());
      return null;
    }

    ResourceBundle bundle = DynamicBundle.getResourceBundle(getLoaderForClass(), baseName);
    String[] keys = categoryKey.split("/");
    if (keys.length > 1) {
      String[] result = new String[keys.length];
      for (int i = 0; i < keys.length; i++) {
        result[i] = AbstractBundle.message(bundle, keys[i]);
      }
      return result;
    }

    return AbstractBundle.message(bundle, categoryKey).split("/");
  }
public String @Nullable [] getCategories()