@Override
    protected Enumeration<URL> findResources(String name) throws IOException {
      if (isAllowedPluginResource(name)) {
        Map<String, URL> result = null;
        for (IdeaPluginDescriptor descriptor : PluginManagerCore.getPlugins()) {
          ClassLoader l = descriptor.getPluginClassLoader();
          Enumeration<URL> urls = l == null ? null : l.getResources(name);
          if (urls == null || !urls.hasMoreElements()) continue;
          if (result == null) result = new LinkedHashMap<>();
          while (urls.hasMoreElements()) {
            URL url = urls.nextElement();
            result.put(url.toString(), url);
          }
        }
        if (result != null) {
          return Collections.enumeration(result.values());
        }
      }
      return getClass().getClassLoader().getResources(name);
    }
@Override
    protected Enumeration<URL> findResources(String name)