Package com.sun.codemodel
Interface JAnnotationWriter<A extends java.lang.annotation.Annotation>
-
- All Known Implementing Classes:
TypedAnnotationWriter
public interface JAnnotationWriter<A extends java.lang.annotation.Annotation>
Base interface for typed annotation writer.Annotation compiler can generate a strongly typed annotation writer to assist applications to write uses of annotations. Such typed annotation writer interfaces all derive from this common interface.
The type parameter 'A' represents the
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<A>
getAnnotationType()
The type of the annotation that this writer is writing.JAnnotationUse
getAnnotationUse()
Gets the underlying annotation use object to which we are writing.
-
-
-
Method Detail
-
getAnnotationUse
JAnnotationUse getAnnotationUse()
Gets the underlying annotation use object to which we are writing.
-
getAnnotationType
java.lang.Class<A> getAnnotationType()
The type of the annotation that this writer is writing.
-
-