public static void pprintArguments(Vector arguments, boolean separatelinesP, boolean omitlastargumentP, org.powerloom.PrintableStringWriter stream) {
    if (arguments == null) {
      return;
    }
    { Iterator argumentsiterator = (omitlastargumentP ? arguments.butLast() : ((Iterator)(arguments.allocateIterator())));
      int visibleargcount = Logic.visibleArgumentsCount(arguments);
      int argindex = 0;

      if (omitlastargumentP &&
          Logic.visibleArgumentP(arguments.last())) {
        visibleargcount = visibleargcount - 1;
      }
      { Stella_Object arg = null;
        Iterator iter000 = argumentsiterator;

        while (iter000.nextP()) {
          arg = iter000.value;
          if (Logic.visibleArgumentP(arg) ||
              (visibleargcount == 0)) {
            argindex = argindex + 1;
            if (argindex > 1) {
              if (separatelinesP) {
                OntosaurusUtil.pprintNewline(stream);
              }
              else {
                stream.print(" ");
              }
            }
            OntosaurusUtil.pprintObject(arg, stream);
          }
        }
      }
    }
  }