code: public boolean compile(Job job) throws IOException {
          boolean result;
  
          currentJob = job;
          result = compileCurrent();
          currentJob = null;
          return result;
      }
docs: -- the real functionality