Package com.sun.codemodel
Interface JAnnotationWriter<A extends java.lang.annotation.Annotation>
-
- All Known Subinterfaces:
XmlAccessorOrderWriter
,XmlAccessorTypeWriter
,XmlAnyAttributeWriter
,XmlAnyElementWriter
,XmlAttachmentRefWriter
,XmlAttributeWriter
,XmlElementDeclWriter
,XmlElementRefsWriter
,XmlElementRefWriter
,XmlElementsWriter
,XmlElementWrapperWriter
,XmlElementWriter
,XmlEnumValueWriter
,XmlEnumWriter
,XmlIDREFWriter
,XmlIDWriter
,XmlInlineBinaryDataWriter
,XmlJavaTypeAdapterWriter
,XmlListWriter
,XmlMimeTypeWriter
,XmlMixedWriter
,XmlNsWriter
,XmlRegistryWriter
,XmlRootElementWriter
,XmlSchemaTypesWriter
,XmlSchemaTypeWriter
,XmlSchemaWriter
,XmlSeeAlsoWriter
,XmlTransientWriter
,XmlTypeWriter
,XmlValueWriter
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
- Author:
- Kohsuke Kawaguchi
-
-
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.
-
-