private @Nullable String findPathToBundle() {
    if (bundle == null && pluginDescriptor != null) {
      // can be unspecified
      return pluginDescriptor.getResourceBundleBaseName();
    }
    return bundle;
  }
private @Nullable String findPathToBundle()