code: public static JType getCommonBaseType( JCodeModel codeModel, Collection<? extends JType> types ) {
          return getCommonBaseType( codeModel, types.toArray(new JType[types.size()]) );
      }
docs: Computes the common base type of two types.
  
  @param types
  set of {@link JType} objects.