protected void determineWhetherToAddScis(ServletContainerInitializer sci, List<ServletContainerInitializer> scis) {
      // SCIs from DS are already added      

      if (acceptAnnotationsFrom(sci.getClass().getName(), DO_ACCEPT_PARTIAL, DO_NOT_ACCEPT_EXCLUDED)) {
          scis.add(sci);
      }
  }
protected void determineWhetherToAddScis ( ServletContainerInitializer sci , List < ServletContainerInitializer > scis ) { if ( acceptAnnotationsFrom ( sci . getClass ( ) . getName ( ) , DO_ACCEPT_PARTIAL , DO_NOT_ACCEPT_EXCLUDED ) ) { scis . add ( sci ) ; } }
Tell if servlet-container-initializer (SCI) annotation processing is to be done on the
class of a specified initializer.  Provide the answer as a side effect.  If processing
is to be done, add the initializer to the specified initializer list.  If processing is
not to be done, do not add the initializer.

@param sci The candidate servlet container initializer.
@param scis Storage for initializers which are to be processed.