public static PLTuple makePlTuple(Cons tuple) {
    { PLTuple result = PLTuple.new_PLTuple();
      List plobjectunions = List.newList();

      { Stella_Object renamed_Object = null;
        Cons iter000 = tuple;
        Cons collect000 = null;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          renamed_Object = iter000.value;
          if (collect000 == null) {
            {
              collect000 = Cons.cons(GuiServer.makePlObjectUnion(renamed_Object), Stella.NIL);
              if (plobjectunions.theConsList == Stella.NIL) {
                plobjectunions.theConsList = collect000;
              }
              else {
                Cons.addConsToEndOfConsList(plobjectunions.theConsList, collect000);
              }
            }
          }
          else {
            {
              collect000.rest = Cons.cons(GuiServer.makePlObjectUnion(renamed_Object), Stella.NIL);
              collect000 = collect000.rest;
            }
          }
        }
      }
      result.PLObjectUnion = plobjectunions;
      return (result);
    }
  }