code: static InjectionProvider<?>[] toArray(final Set<InjectionProvider<?>> injectionProviders) {
          return injectionProviders.toArray(new InjectionProvider<?>[injectionProviders.size()]);
      }
docs: Set to array.
  @param injectionProviders
  set of providers
  @return array of providers