@NotNull
  private static GroovycContinuation createContinuation(Future<Void> future,
                                                        @NotNull Queue<String> mailbox,
                                                        GroovycOutputParser parser, 
                                                        @NotNull JointCompilationClassLoader loader) {
    return new GroovycContinuation() {
      @NotNull
      @Override
      public GroovyCompilerResult continueCompilation() throws Exception {
        loader.resetCache();
        parser.onContinuation();
        mailbox.offer(GroovyRtConstants.JAVAC_COMPLETED);
        future.get();
        return parser.result();
      }

      @Override
      public void buildAborted() {
        mailbox.offer(GroovyRtConstants.BUILD_ABORTED);
      }
    };
  }
@NotNull
  private static GroovycContinuation createContinuation(Future<Void> future,
                                                        @NotNull Queue<String> mailbox,
                                                        GroovycOutputParser parser, 
                                                        @NotNull JointCompilationClassLoader loader)