public static void printSymbol(Symbol self, PrintableStringWriter stream) {
    { boolean visibleP = self == Symbol.lookupSymbolInModule(self.symbolName, ((Module)(Stella.$MODULE$.get())), false);
      Module module = ((Module)(self.homeContext));

      if (!visibleP) {
        if (self.symbolId == -1) {
          stream.print("<<UNINTERNED>>/");
        }
        else {
          if (module != null) {
            if (((Boolean)(Stella.$PRINTREADABLYp$.get())).booleanValue() &&
                (module == Stella.$COMMON_LISP_MODULE$)) {
              {
                stream.print("CL:" + self.symbolName);
                return;
              }
            }
            else {
              stream.print(module.moduleFullName + "/");
            }
          }
        }
      }
      if (((Boolean)(Stella.$PRINTREADABLYp$.get())).booleanValue()) {
        Stella.printSymbolNameReadably(self.symbolName, stream, ((Module)(Stella.$MODULE$.get())).caseSensitiveP);
      }
      else {
        stream.print(self.symbolName);
      }
    }
  }