private void performCompilation(JavaCompileSpec spec, Compiler<JavaCompileSpec> compiler) { WorkResult result = compiler.execute(spec); setDidWork(result.getDidWork()); }
public Object call() throws Exception { return new CompileResult(compiler.execute(spec).getDidWork(), null); }