langtools/test/tools/lib/toolbox/JavacTask.java
changeset 40308 274367a99f98
parent 37758 3ecf9b414e05
child 44690 aec722d1b538
equal deleted inserted replaced
40306:1a0fcaf3f2ed 40308:274367a99f98
   170      * @param options the options
   170      * @param options the options
   171      * @return this task object
   171      * @return this task object
   172      */
   172      */
   173     public JavacTask options(String... options) {
   173     public JavacTask options(String... options) {
   174         this.options = Arrays.asList(options);
   174         this.options = Arrays.asList(options);
       
   175         return this;
       
   176     }
       
   177 
       
   178     /**
       
   179      * Sets the options.
       
   180      * @param options the options
       
   181      * @return this task object
       
   182      */
       
   183     public JavacTask options(List<String> options) {
       
   184         this.options = options;
   175         return this;
   185         return this;
   176     }
   186     }
   177 
   187 
   178     /**
   188     /**
   179      * Sets the classes to be analyzed.
   189      * Sets the classes to be analyzed.