public static void startupGuiServerApi() {
    { Object old$Module$000 = Stella.$MODULE$.get();
      Object old$Context$000 = Stella.$CONTEXT$.get();

      try {
        Native.setSpecial(Stella.$MODULE$, Stella.getStellaModule("/POWERLOOM-SERVER/GUI-SERVER", Stella.$STARTUP_TIME_PHASE$ > 1));
        Native.setSpecial(Stella.$CONTEXT$, ((Module)(Stella.$MODULE$.get())));
        if (Stella.currentStartupTimePhaseP(2)) {
          _StartupGuiServerApi.helpStartupGuiServerApi1();
        }
        if (Stella.currentStartupTimePhaseP(4)) {
          GuiServer.$SERVER_DISPATCH_TABLE$ = StringHashTable.newStringHashTable();
        }
        if (Stella.currentStartupTimePhaseP(6)) {
          Stella.finalizeClasses();
        }
        if (Stella.currentStartupTimePhaseP(7)) {
          _StartupGuiServerApi.helpStartupGuiServerApi2();
          _StartupGuiServerApi.helpStartupGuiServerApi3();
          _StartupGuiServerApi.helpStartupGuiServerApi4();
          Stella.defineFunctionObject("TEST-SERVER-GET-EXPLANATION-FOR-QUERY", "(DEFUN (TEST-SERVER-GET-EXPLANATION-FOR-QUERY |PLString|) ())", Native.find_java_method("edu.isi.powerloom.server.gui.GuiServer", "testServerGetExplanationForQuery", new java.lang.Class [] {}), null);
          Stella.defineFunctionObject("TEST-SERVER-GET-INFO", "(DEFUN (TEST-SERVER-GET-INFO |PLServerInfo|) ())", Native.find_java_method("edu.isi.powerloom.server.gui.GuiServer", "testServerGetInfo", new java.lang.Class [] {}), null);
          Stella.defineFunctionObject("STARTUP-GUI-SERVER-API", "(DEFUN STARTUP-GUI-SERVER-API () :PUBLIC? TRUE)", Native.find_java_method("edu.isi.powerloom.server.gui._StartupGuiServerApi", "startupGuiServerApi", new java.lang.Class [] {}), null);
          { MethodSlot function = Symbol.lookupFunction(GuiServer.SYM_GUI_SERVER_STARTUP_GUI_SERVER_API);

            KeyValueList.setDynamicSlotValue(function.dynamicSlots, GuiServer.SYM_STELLA_METHOD_STARTUP_CLASSNAME, StringWrapper.wrapString("_StartupGuiServerApi"), Stella.NULL_STRING_WRAPPER);
          }
        }
        if (Stella.currentStartupTimePhaseP(8)) {
          Stella.finalizeSlots();
          Stella.cleanupUnfinalizedClasses();
        }
        if (Stella.currentStartupTimePhaseP(9)) {
          Stella_Object.inModule(((StringWrapper)(Stella_Object.copyConsTree(StringWrapper.wrapString("GUI-SERVER")))));
          Stella.defineStellaGlobalVariableFromStringifiedSource("(DEFGLOBAL *ALLOW-REMOTE-FILEBROWSING* BOOLEAN FALSE)");
          Stella.defineStellaGlobalVariableFromStringifiedSource("(DEFGLOBAL *SERVER-LOG-FILE* STRING \"PL:logs;powerloom-server.log\")");
          Stella.setLoggingParameters("PL-Server", Cons.cons(GuiServer.KWD_LOG_LEVELS, Cons.cons(Stella.getQuotedTree("((:NONE :LOW :MEDIUM :HIGH) \"/POWERLOOM-SERVER/GUI-SERVER\")", "/POWERLOOM-SERVER/GUI-SERVER"), Cons.cons(GuiServer.KWD_LEVEL, Cons.cons(((Logic.$POWERLOOM_EXECUTION_MODE$ == GuiServer.KWD_DEVELOPMENT) ? GuiServer.KWD_HIGH : GuiServer.KWD_LOW), Cons.cons(GuiServer.KWD_PREFIX, Cons.cons(StringWrapper.wrapString("PL-Server"), Cons.cons(GuiServer.KWD_MAX_WIDTH, Cons.cons(IntegerWrapper.wrapInteger(2000), Cons.cons(GuiServer.KWD_STREAM, Cons.cons(StringWrapper.wrapString(GuiServer.$SERVER_LOG_FILE$), Stella.NIL)))))))))));
          Stella.defineStellaGlobalVariableFromStringifiedSource("(DEFGLOBAL *QUERY-SESSION-TIMEOUT* INTEGER 86400)");
          Stella.defineStellaGlobalVariableFromStringifiedSource("(DEFGLOBAL *KB-FILENAME-INDEX* STRING \"PL:kbs;kbs.ste\")");
          Stella.defineStellaGlobalVariableFromStringifiedSource("(DEFGLOBAL *KB-DIRECTORY* STRING \"PL:kbs;\")");
          Stella.defineStellaGlobalVariableFromStringifiedSource("(DEFGLOBAL *DEFAULT-KB-DIRECTORY* STRING \"/nfs/topaz/melz/\")");
          Stella.defineStellaGlobalVariableFromStringifiedSource("(DEFGLOBAL *SERVER-DISPATCH-TABLE* (STRING-HASH-TABLE OF STRING FUNCTION-CODE-WRAPPER) (NEW (STRING-HASH-TABLE OF STRING FUNCTION-CODE-WRAPPER)) :DOCUMENTATION \"Hash Table for used for dispatching server API methods.\")");
          GuiServer.initializeDispatchTable();
        }

      } finally {
        Stella.$CONTEXT$.set(old$Context$000);
        Stella.$MODULE$.set(old$Module$000);
      }
    }
  }