Class AbstractAnnotationProcessor<A extends Annotation,​E extends CtElement>

    • Constructor Detail

      • AbstractAnnotationProcessor

        public AbstractAnnotationProcessor()
        Empty constructor only for all processors (invoked by Spoon).
    • Method Detail

      • addConsumedAnnotationType

        protected final void addConsumedAnnotationType​(Class<? extends A> annotationType)
        Adds a consumed annotation type (to be used in subclasses constructors). A consumed annotation type is also part of the processed annotation types.
      • addProcessedAnnotationType

        protected final void addProcessedAnnotationType​(Class<? extends A> annotationType)
        Adds a processed annotation type (to be used in subclasses constructors).
      • removeProcessedAnnotationType

        protected final void removeProcessedAnnotationType​(Class<? extends A> annotationType)
        Removes a processed annotation type.
      • clearProcessedAnnotationTypes

        protected final void clearProcessedAnnotationTypes()
        Clears the processed annotation types.
      • clearConsumedAnnotationTypes

        protected final void clearConsumedAnnotationTypes()
        Clears the consumed annotation types.
      • removeConsumedAnnotationType

        protected final void removeConsumedAnnotationType​(Class<? extends A> annotationType)
        Removes a processed annotation type.