< prev index next >

langtools/test/tools/lib/toolbox/JavacTask.java

Print this page

        

@@ -174,10 +174,20 @@
         this.options = Arrays.asList(options);
         return this;
     }
 
     /**
+     * Sets the options.
+     * @param options the options
+     * @return this task object
+     */
+    public JavacTask options(List<String> options) {
+        this.options = options;
+        return this;
+    }
+
+    /**
      * Sets the classes to be analyzed.
      * @param classes the classes
      * @return this task object
      */
     public JavacTask classes(String... classes) {
< prev index next >