third_party/closure-compiler/src/src/com/google/javascript/rhino/jstype/UnionType.java
/**
     * Returns a type, not necessarily a {@link UnionType}, that represents the union of the inputs.
     *
     * <p>The {@link Builder} cannot be used again once this method is called.
     */
Returns a type, not necessarily a  UnionType, that represents the union of the inputs.
The  Builder cannot be used again once this method is called.
Returns a type not necessarily a UnionType that represents the union of the inputs . The Builder cannot be used again once this method is called .
public JSType build() {
      checkState(rebuildTarget == null);
      ImmutableList<JSType> alternates = buildInternal();
      if (alternates.size() == 1) {
        return alternates.get(0);
      } else {
        return new UnionType(registry).setAlternates(alternates);
      }
    }
public JSType build ( ) { checkState ( rebuildTarget == null ) ; ImmutableList < JSType > alternates = buildInternal ( ) ; if ( alternates . size ( ) == 1 ) { return alternates . get ( 0 ) ; } else { return new UnionType ( registry ) . setAlternates ( alternates ) ; } }
Returns a type, not necessarily a {@link UnionType}, that represents the union of the inputs.
Returns a type not necessarily a { @link UnionType } that represents the union of the inputs .