Class AnnotationProcessor


  • public class AnnotationProcessor
    extends Object
    Process instance of an annotated class. This is a visitable object that allows an caller to visit that annotated elements in this class definition. If a class level annotation is overridden by a member level annotation, only the visit method for the member level annotation
    • Constructor Detail

      • AnnotationProcessor

        public AnnotationProcessor​(Object o)
    • Method Detail

      • accept

        public void accept​(AnnotationVisitor visitor,
                           Class<?> claz)
        Visits each of the annotated elements of the object.
        Parameters:
        visitor - a visitor
        claz - the Class of the targe object