private static void initializeRegistry(){
  register(PipelineOptions.class);
  Set<PipelineOptionsRegistrar> pipelineOptionsRegistrars=Sets.newTreeSet(ObjectsClassComparator.INSTANCE);
  pipelineOptionsRegistrars.addAll(Lists.newArrayList(ServiceLoader.load(PipelineOptionsRegistrar.class,CLASS_LOADER)));
  for (  PipelineOptionsRegistrar registrar : pipelineOptionsRegistrars) {
    for (    Class<? extends PipelineOptions> klass : registrar.getPipelineOptions()) {
      register(klass);
    }
  }
}

private static void initializeRegistry ( ) { register ( PipelineOptions . class ) ; Set < PipelineOptionsRegistrar > pipelineOptionsRegistrars = Sets . newTreeSet ( ObjectsClassComparator . INSTANCE ) ; pipelineOptionsRegistrars . addAll ( Lists . newArrayList ( ServiceLoader . load ( PipelineOptionsRegistrar . class , CLASS_LOADER ) ) ) ; for ( PipelineOptionsRegistrar registrar : pipelineOptionsRegistrars ) { for ( Class < ? extends PipelineOptions > klass : registrar . getPipelineOptions ( ) ) { register ( klass ) ; } } }
load and register the list of all classes that extend pipelineoptions .
