public PartialVisitContext(FacesContext facesContext,Collection<String> clientIds,Set<VisitHint> hints){
  if (facesContext == null) {
    throw new NullPointerException();
  }
  this.facesContext=facesContext;
  initializeCollections(clientIds);
  EnumSet<VisitHint> hintsEnumSet=((hints == null) || (hints.isEmpty())) ? EnumSet.noneOf(VisitHint.class) : EnumSet.copyOf(hints);
  this.hints=Collections.unmodifiableSet(hintsEnumSet);
}

public PartialVisitContext ( FacesContext facesContext , Collection < String > clientIds , Set < VisitHint > hints ) { if ( facesContext == null ) { throw new NullPointerException ( ) ; } this . facesContext = facesContext ; initializeCollections ( clientIds ) ; EnumSet < VisitHint > hintsEnumSet = ( ( hints == null ) || ( hints . isEmpty ( ) ) ) ? EnumSet . noneOf ( VisitHint . class ) : EnumSet . copyOf ( hints ) ; this . hints = Collections . unmodifiableSet ( hintsEnumSet ) ; }
creates a partialvisitorcontext instance with the specified hints .
