org.mule.devkit.model.code
Interface AnnotationWriter<A extends Annotation>


public interface AnnotationWriter<A extends 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
 Class<A> getAnnotationType()
          The type of the annotation that this writer is writing.
 GeneratedAnnotationUse getAnnotationUse()
          Gets the underlying annotation use object to which we are writing.
 

Method Detail

getAnnotationUse

GeneratedAnnotationUse getAnnotationUse()
Gets the underlying annotation use object to which we are writing.


getAnnotationType

Class<A> getAnnotationType()
The type of the annotation that this writer is writing.



Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.