com.sun.tools.javap
Class AnnotationWriter

java.lang.Object
  extended by com.sun.tools.javap.BasicWriter
      extended by com.sun.tools.javap.AnnotationWriter

public class AnnotationWriter
extends BasicWriter

A writer for writing annotations as text.

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
(package private)  class AnnotationWriter.element_value_Writer
           
 
Field Summary
(package private)  AnnotationWriter.element_value_Writer ev_writer
           
 
Constructor Summary
protected AnnotationWriter(Context context)
           
 
Method Summary
(package private) static AnnotationWriter instance(Context context)
           
 void write(Annotation.element_value_pair pair)
           
 void write(Annotation.element_value value)
           
 void write(Annotation annot)
           
 
Methods inherited from class com.sun.tools.javap.BasicWriter
print, print, println, println, println, report, report, report, report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ev_writer

AnnotationWriter.element_value_Writer ev_writer
Constructor Detail

AnnotationWriter

protected AnnotationWriter(Context context)
Method Detail

instance

static AnnotationWriter instance(Context context)

write

public void write(Annotation annot)

write

public void write(Annotation.element_value_pair pair)

write

public void write(Annotation.element_value value)