src/share/classes/com/sun/source/util/Trees.java

changeset 785
65820d0d4a97
parent 783
90914ac50868
child 798
4868a36f6fd8
     1.1 --- a/src/share/classes/com/sun/source/util/Trees.java	Thu Dec 09 18:33:32 2010 -0800
     1.2 +++ b/src/share/classes/com/sun/source/util/Trees.java	Thu Dec 09 19:53:03 2010 -0800
     1.3 @@ -52,6 +52,7 @@
     1.4  public abstract class Trees {
     1.5      /**
     1.6       * Gets a Trees object for a given CompilationTask.
     1.7 +     * @param task the compilation task for which to get the Trees object
     1.8       * @throws IllegalArgumentException if the task does not support the Trees API.
     1.9       */
    1.10      public static Trees instance(CompilationTask task) {
    1.11 @@ -61,7 +62,8 @@
    1.12      }
    1.13  
    1.14      /**
    1.15 -     * Gets a Trees object for a given CompilationTask.
    1.16 +     * Gets a Trees object for a given ProcessingEnvironment.
    1.17 +     * @param env the processing environment for which to get the Trees object
    1.18       * @throws IllegalArgumentException if the env does not support the Trees API.
    1.19       */
    1.20      public static Trees instance(ProcessingEnvironment env) {

mercurial