Spec-Zone .ru
спецификации, руководства, описания, API

Compiler Tree API
DRAFT ea-b118

com.sun.source.util
Class TaskEvent

java.lang.Object
  extended by com.sun.source.util.TaskEvent

public final class TaskEvent
extends Object

Provides details about work that has been done by the JDK Java Compiler, javac.

Since:
1.6

Nested Class Summary
Modifier and Type Class and Description
static class TaskEvent.Kind
          Kind of task event.
 
Constructor Summary
Constructor and Description
TaskEvent(TaskEvent.Kind kind)
           
TaskEvent(TaskEvent.Kind kind, CompilationUnitTree unit)
           
TaskEvent(TaskEvent.Kind kind, CompilationUnitTree unit, TypeElement clazz)
           
TaskEvent(TaskEvent.Kind kind, JavaFileObject sourceFile)
           
 
Method Summary
Modifier and Type Method and Description
 CompilationUnitTree getCompilationUnit()
           
 TaskEvent.Kind getKind()
           
 JavaFileObject getSourceFile()
           
 TypeElement getTypeElement()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskEvent

public TaskEvent(TaskEvent.Kind kind)

TaskEvent

public TaskEvent(TaskEvent.Kind kind,
                 JavaFileObject sourceFile)

TaskEvent

public TaskEvent(TaskEvent.Kind kind,
                 CompilationUnitTree unit)

TaskEvent

public TaskEvent(TaskEvent.Kind kind,
                 CompilationUnitTree unit,
                 TypeElement clazz)
Method Detail

getKind

public TaskEvent.Kind getKind()

getSourceFile

public JavaFileObject getSourceFile()

getCompilationUnit

public CompilationUnitTree getCompilationUnit()

getTypeElement

public TypeElement getTypeElement()

toString

public String toString()
Overrides:
toString in class Object

Compiler Tree API
DRAFT ea-b118

Copyright © 2005, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.