@Override
 protected void compile() {
   FileTree source = getSource();
   compiler.setSource(source);
   compiler.setDestinationDir(getDestinationDir());
   compiler.setClasspath(getClasspath());
   compiler.setScalaClasspath(getScalaClasspath());
   compiler.setSourceCompatibility(getSourceCompatibility());
   compiler.setTargetCompatibility(getTargetCompatibility());
   compiler.execute();
 }
 /** Returns the Java compilation options. */
 @Nested
 public CompileOptions getOptions() {
   return compiler.getCompileOptions();
 }
 /** Returns the Scala compilation options. */
 @Nested
 public ScalaCompileOptions getScalaCompileOptions() {
   return compiler.getScalaCompileOptions();
 }