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

Print this page




  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.source.util;
  27 
  28 import javax.lang.model.element.TypeElement;
  29 import javax.tools.JavaFileObject;
  30 
  31 import com.sun.source.tree.CompilationUnitTree;
  32 
  33 /**
  34  * Provides details about work that has been done by the JDK Java Compiler, javac.
  35  *
  36  * @author Jonathan Gibbons
  37  * @since 1.6
  38  */

  39 public final class TaskEvent
  40 {
  41     /**
  42      * Kind of task event.
  43      * @since 1.6
  44      */

  45     public enum Kind {
  46         /**
  47          * For events related to the parsing of a file.
  48          */
  49         PARSE,
  50         /**
  51          * For events relating to elements being entered.
  52          **/
  53         ENTER,
  54         /**
  55          * For events relating to elements being analyzed for errors.
  56          **/
  57         ANALYZE,
  58         /**
  59          * For events relating to class files being generated.
  60          **/
  61         GENERATE,
  62         /**
  63          * For events relating to overall annotation processing.
  64          **/




  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.source.util;
  27 
  28 import javax.lang.model.element.TypeElement;
  29 import javax.tools.JavaFileObject;
  30 
  31 import com.sun.source.tree.CompilationUnitTree;
  32 
  33 /**
  34  * Provides details about work that has been done by the JDK Java Compiler, javac.
  35  *
  36  * @author Jonathan Gibbons
  37  * @since 1.6
  38  */
  39 @jdk.Supported
  40 public final class TaskEvent
  41 {
  42     /**
  43      * Kind of task event.
  44      * @since 1.6
  45      */
  46     @jdk.Supported
  47     public enum Kind {
  48         /**
  49          * For events related to the parsing of a file.
  50          */
  51         PARSE,
  52         /**
  53          * For events relating to elements being entered.
  54          **/
  55         ENTER,
  56         /**
  57          * For events relating to elements being analyzed for errors.
  58          **/
  59         ANALYZE,
  60         /**
  61          * For events relating to class files being generated.
  62          **/
  63         GENERATE,
  64         /**
  65          * For events relating to overall annotation processing.
  66          **/