code: static <T> Optional<T> findFirst(final Class<T> service) {
          final ServiceLoader<T> loader = load(service);
          if (loader == null) return empty();
          final Iterator<T> services = loader.iterator();
          return services.hasNext() ? of(services.next()) : empty();
      }
docs: /* package-private because of JPMS