private void addRelatedType(JSType type, JSTypeBitSet related) {
    computeRelatedTypesForNonUnionType(type);
    related.or(relatedBitsets.get(type));
  }
private void addRelatedType ( JSType type , JSTypeBitSet related ) { computeRelatedTypesForNonUnionType ( type ) ; related . or ( relatedBitsets . get ( type ) ) ; }
Adds the given type and all its related types to the given bit set.