public static InjectionProvider < ? > [ ] providersToArray ( final Collection < InjectionProvider < ? > > providers ) { return providers == null ? new InjectionProvider < ? > [ 0 ] : providers . toArray ( new InjectionProvider < ? > [ providers . size ( ) ] ) ; }
Create array of InjectionProviders for given collection .