com.sun.tools.javac.comp
Class Annotate

java.lang.Object
  extended by com.sun.tools.javac.comp.Annotate

public class Annotate
extends java.lang.Object

Enter annotations on symbols. Annotations accumulate in a queue, which is processed at the top level of any set of recursive calls requesting it be processed.

This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.


Nested Class Summary
static interface Annotate.Annotator
          A client that has annotations to add registers an annotator, the method it will use to add the annotation.
 
Field Summary
protected static Context.Key<Annotate> annotateKey
           
 
Constructor Summary
protected Annotate(Context context)
           
 
Method Summary
 void earlier(Annotate.Annotator a)
           
 void enterDone()
          Called after the Enter phase completes.
 void enterStart()
          Called when the Enter phase starts.
 void flush()
           
static Annotate instance(Context context)
           
 void later(Annotate.Annotator a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotateKey

protected static final Context.Key<Annotate> annotateKey
Constructor Detail

Annotate

protected Annotate(Context context)
Method Detail

instance

public static Annotate instance(Context context)

later

public void later(Annotate.Annotator a)

earlier

public void earlier(Annotate.Annotator a)

enterStart

public void enterStart()
Called when the Enter phase starts.


enterDone

public void enterDone()
Called after the Enter phase completes.


flush

public void flush()


Copyright © 2009. All Rights Reserved.