code: public EnumType createEnumType(String name, Node source, JSType elementsType) {
      return new EnumType(this, name, source, elementsType);
    }
docs: Creates an enum type.
  
  @param name The human-readable name associated with the enum, or null if unknown.