static ArgumentProcessorFactory getInstance() {
    Iterator<ArgumentProcessorFactory> factories =
        ServiceLoader.load(ArgumentProcessorFactory.class).iterator();
    if (factories.hasNext()) {
      return factories.next();
    }
    throw new AssertionError("Can't find an implementation of "
        + ArgumentProcessorFactory.class.getName() + " from service loader");
  }
static ArgumentProcessorFactory getInstance ( ) { Iterator < ArgumentProcessorFactory > factories = ServiceLoader . load ( ArgumentProcessorFactory . class ) . iterator ( ) ; if ( factories . hasNext ( ) ) { return factories . next ( ) ; } throw new AssertionError ( "Can't find an implementation of " + ArgumentProcessorFactory . class . getName ( ) + " from service loader" ) ; }
@return Instance of ArgumentProcessorFactory. The implementation is determined by
{@link ServiceLoader}