docs: public <T> T loadImpl(Class<T> service) {
          ClassLoader loader = Thread.currentThread().getContextClassLoader();
          if (loader == null) {
              loader = ClassLoader.getSystemClassLoader();
          }
          Enumeration<URL> resources;
          try {
              resources = loader.getResources("mockito-extensions/" + service.getName());
          } catch (IOException e) {
              throw new IllegalStateException("Failed to load " + service, e);
          }
  
          try {
              String classOrAlias = new PluginFinder(pluginSwitch).findPluginClass(Iterables.toIterable(resources));
              if (classOrAlias != null) {
                  if (classOrAlias.equals(alias)) {
                      classOrAlias = plugins.getDefaultPluginClass(alias);
                  }
                  Class<?> pluginClass = loader.loadClass(classOrAlias);
                  Object plugin = pluginClass.newInstance();
                  return service.cast(plugin);
              }
              return null;
          } catch (Exception e) {
              throw new IllegalStateException(
                  "Failed to load " + service + " implementation declared in " + resources, e);
          }
      }