code: public static <S, T extends Plugin<S>> OrderAwarePluginRegistry<T, S> of(List<? extends T> plugins,
  			Comparator<? super T> comparator) {
  
  		Assert.notNull(plugins, "Plugins must not be null!");
  		Assert.notNull(comparator, "Comparator must not be null!");
  
  		return new OrderAwarePluginRegistry<>(plugins, comparator);
  	}
docs: Creates a new {@link OrderAwarePluginRegistry} with the given plugins.
  
  @param plugins
  @return
  @since 2.0