public @Nullable UIThemeMetadata loadMetadata() {
    try {
      ClassLoader loader = pluginDescriptor != null ? pluginDescriptor.getClassLoader() : getClass().getClassLoader();
      return UIThemeMetadata.loadFromJson(loader.getResourceAsStream(StringUtil.trimStart(path, "/")), pluginDescriptor.getPluginId());
    }
    catch (IOException e) {
      String pluginId = pluginDescriptor != null ? pluginDescriptor.getPluginId().getIdString() : "(none)";
      Logger.getInstance(getClass()).error("error loading UIThemeMetadata '" + path + "', pluginId=" + pluginId, e);
      return null;
    }
  }
public @Nullable UIThemeMetadata loadMetadata()