utils/src/main/java/org/robolectric/util/inject/ServiceFinder.java
public static <S> ServiceFinder<S> load(Class<S> service,
      ClassLoader loader)
  {
    return new ServiceFinder<>(service, loader);
  }
public static <S> ServiceFinder<S> load(Class<S> service,
      ClassLoader loader)
  {
    return new ServiceFinder<>(service, loader);
  }
public static < S > ServiceFinder < S > load ( Class < S > service , ClassLoader loader ) { return new ServiceFinder <> ( service , loader ) ; }
Creates a new service loader for the given service type and class
loader.

@param  <S> the class of the service type

@param  service
The interface or abstract class representing the service

@param  loader
The class loader to be used to load provider-configuration files
and provider classes, or <tt>null</tt> if the system class
loader (or, failing that, the bootstrap class loader) is to be
used

@return A new service loader
Creates a new service loader for the given service type and class loader .