code: @VisibleForTesting
    @GwtIncompatible("Unnecessary")
    void printModuleGraphJsonTo(Appendable out) throws IOException {
      out.append(compiler.getModuleGraph().toJson().toString());
    }
docs: Prints the current module graph as JSON.