Class AnnotationProcessor<T extends java.lang.annotation.Annotation,​D>


  • public abstract class AnnotationProcessor<T extends java.lang.annotation.Annotation,​D>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationProcessor​(java.lang.Class<T> annotationClass)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.reflect.AnnotatedElement annotatedElement)  
      T getAnnotation​(java.lang.reflect.AnnotatedElement annotatedElement)  
      java.lang.String getName​(java.lang.reflect.AnnotatedElement annotatedElement)  
      abstract java.lang.String getName​(T annotation)  
      abstract void process​(D descriptor, AnnotatedDeclaration annotatedDeclaration, java.lang.reflect.AnnotatedElement annotatedElement)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationProcessor

        public AnnotationProcessor​(java.lang.Class<T> annotationClass)
    • Method Detail

      • accept

        public boolean accept​(java.lang.reflect.AnnotatedElement annotatedElement)
      • getName

        public java.lang.String getName​(java.lang.reflect.AnnotatedElement annotatedElement)
      • getAnnotation

        public T getAnnotation​(java.lang.reflect.AnnotatedElement annotatedElement)
      • getName

        public abstract java.lang.String getName​(T annotation)
      • process

        public abstract void process​(D descriptor,
                                     AnnotatedDeclaration annotatedDeclaration,
                                     java.lang.reflect.AnnotatedElement annotatedElement)