public UnionTypeBuilder addAlternates ( ImmutableList < JSType > list ) { for ( int i = 0 ; i < list . size ( ) ; i ++ ) { addAlternate ( list . get ( i ) ) ; } return this ; }
adding a union as an alternate .