Package org.glassfish.apf
Interface AnnotatedElementHandler
- All Known Implementing Classes:
AnnotationContext
public interface AnnotatedElementHandler
Provides notification when the annotation processor is visiting a
new AnnotatedElement.
- Author:
- Jerome Dochez
-
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(ElementType type, AnnotatedElement element) After annotations for an annotated element are processed, the endElement is called with the annotated element value and its typevoidstartElement(ElementType type, AnnotatedElement element) Before annotations for an annotated element are processed, the startElement is called with the annotated element value and its type
-
Method Details
-
startElement
Before annotations for an annotated element are processed, the startElement is called with the annotated element value and its type- Parameters:
type- the annotated element type (class, field, method...)element- the annotated element we are starting to visit.- Throws:
AnnotationProcessorException
-
endElement
After annotations for an annotated element are processed, the endElement is called with the annotated element value and its type- Parameters:
type- the annotated element type (class, field, method...)element- the annotated element we are done visiting.- Throws:
AnnotationProcessorException
-